// [1, 2, hello, kotlin] val intArray = intArrayOf(1, 2, 3, 4) // [1, 2, 3, 4] val emptyArray = emptyArray<Any>() // [] val nullArray = arrayOfNulls<Any>(size = 5) // [null, null, null, null, null] val arrayWithInit = Array(5) { i -> (i * i).toString() } // [0, 1, 4, 9, 16]