kotlin 2d arraylist
snippet in kotlin

kotlin 2d arraylist

user3960

List<List<String>> listOfLists = new ArrayList<List<String>>();

2d array in kotlin

user594

val array = Array(row) { IntArray(column) }

kotlin 2d arraylist

user4030

listOfLists.add(new ArrayList<String>());