I have read that if I use the == operator to compare two string objects,it compares the addresses while the "equals" operator would compare only the contents.
Is it true?
To the following code:
public static void main(String art)
System.out.println("They are the same");
System.out.println("They are still the same");
They are the same
They are still the same