Here’s how to initialize an array in Kotlin.

BY Best Interview Question ON 21 Jul 2020

Example

val numbers: IntArray = intArrayOf(11, 12, 13, 14, 15)