When you call remove(object o) on an arraylist, how does it compare objects?
- by Thomas.Winsnes
When you call remove(object o) on an arraylist in java, how does it compare the objects to find the correct one to remove? does it use the pointer? or does it compare the objects using the interface Comparable?