Consider the following code.
String s = "Hello";
s = "Good Bye";
s = "Hello";
I understand the first two lines of the code allocates RAM for the String objects "Hello" and "Good Bye". However, does the third line create a third RAM location for another "Hello" or does s refer back to the location of the first "Hello"?