Check out example codes for "join two lists java". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com