January 2018
Intermediate to advanced
434 pages
14h 1m
English
2D arrays are useful for data representation in certain situations such as board games, images, and so on. In Java, we can represent a 2D array by doing the following:
int[][] data = new int[size][size];
Since Kotlin brings new syntax, let's see how to work with a 2D array in Kotlin.
Read now
Unlock full access