kotlin init array code example
Example 1: kotlin array
val a: Array<Double> = arrayOf(3.0, 4.5, 8.0, 19.0)
Example 2: kotlin initialize array
val strings = arrayOf("January", "February", "March")
val a: Array<Double> = arrayOf(3.0, 4.5, 8.0, 19.0)
val strings = arrayOf("January", "February", "March")