Home > DeveloperSection > Interviews > Why java uses the concept of string literal?

Posted on    April-25-2015 12:40 AM

 Java Java  String 
Ratings:
 1 Answer(s)
  371  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    April-25-2015 12:40 AM

o make Java more memory efficient (because no new objects are created if it exists already in string constant pool).

Don't want to miss updates? Please click the below button!

Follow MindStick