I have two arraylist and I want to assign oney reference to another. So both can point to the same.
I used the following:
where a1 and a2 are arraylists. It works fine for me. I wanted to know how can I achieve this using clone method?Code:a2 = a1;
Regards.
