What is String Interning String Interning is a method of storing only one copy of each distinct String Value, which must be immutable. In Java String class has a public method intern() that returns a canonical representation for the string object....
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok