add specific elements of a list in another list 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);