my dog learned polymorphism*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
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://aspose.com/file-tools
 
subject: Does String Object are actually of Immutable type ?
 
Similar Threads
immutale objects
Read-only objects in cache
Immutable classes
How is this possible if Strings are immutable?
Strings Immutable ??