Check out example codes for "java add a list to a list". It will help you in understanding the concepts better.

Code Example 1

List mylist.addAll(secondList);

Code Example 2

List<String> newList = Stream.concat(listOne.stream(), listTwo.stream())
                             .collect(Collectors.toList());

Learn ReactJs, React Native from akashmittal.com