View Single Post
Old 05-29-2018, 08:48 AM   #1
Pavan Techn
Registered User
 
Join Date: Mar 2018
Posts: 341
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).
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Pavan Techn is offline   Reply With Quote