Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General

Notices


 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-23-2018, 04:07 AM   #5
smmexpertss
Registered User
 
Join Date: Sep 2015
Location: UK
Posts: 447
Once you assign a string object, that object can not be changed in memory. In summary, what you did is to change the reference of "a" to a new string object. Java String is immutable, String will Store the value in the form of object.
smmexpertss is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
JAVA Projects 2016 AcademicProject Java 2 09-21-2017 02:05 AM
Is String a data type in java? Kunal Java 1 03-18-2016 10:46 PM
Final Year JAVA Projects AcademicProject Post your ad here 0 02-01-2016 02:12 AM
The conclusion provided by the Black Hat Java Script andrebreton2121 Search Engine Optimization 6 10-17-2012 11:06 PM
biggest teature of String in java? cianfie Java 0 12-08-2011 09:03 PM


All times are GMT -7. The time now is 05:49 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.