kotlin create array of objects code example Example: kotlin create array with values val numbers: IntArray = intArrayOf(10, 20, 30, 40, 50)