When we define a String type variable of name firstString by assigning a value Robert to it,
String firstString = "Robert";
A memory space will be created for firstString in so called free pool and the value Robert will be stored in it.
Now, if we define another String type variable secondString and assign the same value Robert to it,
String secondString = "Robert";