Recently i attended an interview there they asked this question which i was unable to answer. 

what happens in memory when i initialize 

```
String str = "abc"; 
String str1 = "abc"; 
String str = "xyz";

```