how to append two arraylist in java code example Example: add two arraylist oneList.addAll(secondList);