This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Does String Object are actually of Immutable type ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Does String Object are actually of Immutable type ?" Watch "Does String Object are actually of Immutable type ?" New topic
Author

Does String Object are actually of Immutable type ?

Sumeet Raheja
Greenhorn

Joined: Dec 01, 2004
Posts: 16
I heard that String Object can be changed without creating the new String Object , by using Reflection , then how we can say Strings are immutable
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Give us an example of the code that does this, please.


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Does String Object are actually of Immutable type ?
 
Similar Threads
Read-only objects in cache
immutale objects
Immutable classes
Strings Immutable ??
How is this possible if Strings are immutable?