Given arrays a1 and a2, which call returns true if a1 and a2 have the same length, and a1[i].equals(a2[i]) for every legal index i?
Click to view the answer
A.
The Arrays class has a static equals() method that compares arrays member by member.
equals()