![]() |
#1 |
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. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why string objects are immutable in java? | Pavan Techn | Java | 0 | 05-29-2018 08:47 AM |
Is String a data type in java? | Kunal | Java | 1 | 03-18-2016 10:46 PM |
biggest teature of String in java? | cianfie | Java | 0 | 12-08-2011 09:03 PM |