how can i add list in .add in java code example
Example: how to add a list in a list java
List list = new ArrayList();
List anotherList = new ArrayList();
anotherList.add(list);
List list = new ArrayList();
List anotherList = new ArrayList();
anotherList.add(list);