-
When does the String Literal pool gets cleared?
In one java class I have created this string String s1 = "abc";Now if I again use this same statement in a different java class, ie;String s2 = "abc";Will I get the same reference for "abc" in both the classes.