So I understand that the == checks for equality in the reference number (the address of objects in memory). And the .equals() checks for the content of the objects.
String s = "test";
String s2 = "test";
I'm creating two different string objects but yet, I get the following:
s == s2; //true, I dont know why, aren't s and s2 two different objects with
different internal values
s.equals(s2); //true, which I understand