I need to create a list of lists in Ballerina. In java, I would simply say List<List<String>>
. How do I do this in ballerina?
I have the following code.
int[][] arr = [[1,2,3], [4,5,6]];
I need to add elements to the 3rd list and it is not possible as below,
arr[3][0] = 4;