Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Java (http://siteownersforums.com/forumdisplay.php?f=12)
-   -   Why java uses the concept of string literal? (http://siteownersforums.com/showthread.php?t=348789)

Pavan Techn 05-29-2018 08:48 AM

Why java uses the concept of string literal?
 
To make Java more memory efficient (because no new objects are created if it exists already in string constant pool).


All times are GMT -7. The time now is 11:12 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.