...since c1 contains a wrapper object story, that object will also be eligible...
Little misconception remains in this statement regarding Wrapper objects... Only one object will be eligible for garbage collection. For detail look here [ August 20, 2007: Message edited by: Al Mamun ]
Joined: Aug 19, 2007
Thank you very much, Neha!
Joined: Aug 20, 2007
Thanks Al Mamun. That link really helped me understand immutability of wrapper objects.