A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Does String Object are actually of Immutable type ?
Joined: Dec 01, 2004
Dec 01, 2004 03:30:00
I heard that
Object can be changed without creating the new String Object , by using Reflection , then how we can say Strings are immutable
Joined: Aug 03, 2002
Dec 01, 2004 03:55:00
Give us an example of the code that does this, please.
Ask a Meaningful Question
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: Does String Object are actually of Immutable type ?
Read-only objects in cache
Strings Immutable ??
How is this possible if Strings are immutable?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014