I have one object of String as new String("abc");
How will i convert that object to String pool Object
String str= new String("abc").intern() // calling intern() will add the String object to the String pool.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments