kotlin create 1 dimensional array code example Example: 2d array in kotlin val array = Array(row) { IntArray(column) }