I am trying to \"combine\" two arrayLists, producing a new arrayList that contains all the numbers in the two combined arrayLists, but without any duplicate elements and the
Add ArrayList1, ArrayList2 and produce a Single arraylist ArrayList3. Now convert it into
Set Unique_set = new HashSet(Arraylist3);
in the unique set you will get the unique elements. Note
ArrayList allows to duplicate values. Set doesn't allow the values to duplicate. Hope your problem solves.