I am reading Oracle Java Certification book. I'm finding following sentences hard to grasp.
Two arrays with the same content are not equal but ArrayLists equal.
And If you call remove(0) using an empty ArrayList object, it will compile successfully :/
What does it mean ? Wonder why and how ? Can anyone explain it ?