Watch out with the example you just came up with.
{"aa","bb","cc"}, {"a","abb","cc"} and your implementation of equals means that two objects that are actually meaningfully different will pass the equals
test. You should put some sort of separator into the check, like this..
or write different if statements that check for each variable on its own ...