Why .contains(Object o) method return false in my code?
- I have empty array,
- I create 2 variables that contains identical objects,
- I put a content of first variable to my array, using .add() method,
- I check if my array contains object from second variable or not, object that is identical as object from first variable,
I check it using .contains(O