adding two lists java code example Example 1: java add a list to a list List mylist.addAll(secondList); Example 2: add two arraylist oneList.addAll(secondList);