Delete comment from: Javarevisited
javin paul said...
Two objects "abc" first object created in pool and "s" a new object created in heap.
Dec 3, 2020, 8:36:44 AM
Posted to When to use intern() method of String in Java? Example
Two objects "abc" first object created in pool and "s" a new object created in heap.
Dec 3, 2020, 8:36:44 AM
Posted to When to use intern() method of String in Java? Example