@@ -0,0 +1,1203 @@
+/*Add all and remove all*/%0Aimport java.util.*;%0A%0Aclass Student%7B%0A%09int age;%0A%09String name;%0A%09Student(int age, String name)%7B%0A%09%09this.age = age;%0A%09%09this.name = name;%0A%09%7D%0A%7D%0A%0Apublic class Main%7B%0A   public static void main(String%5B%5D argv)%7B%0A     ArrayList%3CStudent%3E stu_info = new ArrayList%3C%3E(); %0A     ArrayList%3CStudent%3E stu_db = new ArrayList%3C%3E();%0A     %0A     Student s1 = new Student(10,%22ABC%22); %0A     Student s2 = new Student(20,%22FGH%22); %0A     Student s3 = new Student(30,%22DEF%22); %0A     Student s4 = new Student(40,%22XCV%22); %0A     Student s5 = new Student(50,%22QWE%22); %0A    %0A     Student x1 = new Student(10,%22---%22); %0A     Student x2 = new Student(20,%22+++%22); %0A     %0A     stu_info.add(s1);%0A     stu_info.add(s2);%0A     stu_info.add(s3);%0A     stu_info.add(s4);%0A     stu_info.add(s5);%0A     %0A     stu_db.add(x1);%0A     stu_db.add(x2);%0A     %0A     System.out.println(%22All Object%22);%0A     for ( Student v : stu_info) System.out.println(v.age+%22 %22+v.name);%0A     System.out.println(%22+++++++++++++++++%22);%0A     for ( Student v : stu_db) System.out.println(v.age+%22 %22+v.name);%0A     System.out.println(%22-----------------%22);%0A     %0A     stu_info.addAll(stu_db);%0A     for ( Student v : stu_info) System.out.println(v.age+%22 %22+v.name);%0A     %0A   %7D%0A%7D%0A

Create Array_list_part2.java