intarray in kotlin code example Example: kotlin array int //type1 val nums = arrayOf(1, 2, 3, 4, 5) println(Arrays.toString(nums))