| 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.
|
 |
 |
|
|
subject: Does String Object are actually of Immutable type ?
|
|
|