Which of the following are true? (Choose all that apply)
A. Two arrays with the same content are equal.
B. Two ArrayLists with the same content are equal.
C. If you call remove(0) using an empty ArrayList object, it will compile successfully.
D. If you call remove(0) using an empty ArrayList object, it will run successfully.
E. None of the above.
The books says B and C are the correct answer.
ArrayList does override equals() and defines it as the same elements in the same order.
About answer B, I think it's wrong.
English is not my first language and I interpret "same content" as "contains the same elements ignoring the order of the elements".
Is my interpretation of "same content" wrong?