SyntaxFix
Write A Post
Hire A Developer
Questions
This can be achieve by creating object of List data structure, as follows
List list = new ArrayList();
For more information refer this link
How to create a Multidimensional ArrayList in Java?