I have an ArrayList l1 of size 10. I assign l1 to new list reference type l2. Will l1 and l2 po
ArrayList
l1
l2
Java doesn't pass objects, it passes references (pointers) to objects. So yes, l2 and l1 are two pointers to the same object.
You have to make an explicit copy if you need two different list with the same contents.