List list1 = new ArrayList();list1.add("a");list1.add("b");List list2 = Arrays.asList("c","d");list1.addAll(list2);System.out.println(list1);