kotlin array add value in 2d array code example Example: 2d array in kotlin val array = Array(row) { IntArray(column) }