John de Michele wrote:Karimkhan:
The final keyword only means that the reference can't be changed. It doesn't mean that the object the reference is referring to can't change internally. As Deepak said, you need to refer to immutable objects, or use some other technique like defensive copying.
John.
Thanks all of you guys for sharing you'r knowledges ,
What is actually defensive copying ?