I'm new to Java and I need to make a list of lists of lists. I could do it in python because an element of a list can be a list so in an embedded list list[0]
would refer to a list and list[0][0]
would refer to the zeroeth element of the embedded list. Is there any easy way to implement this behavior in java?