October 5, 2010 at 5:49 PM
Mutable are those object which we can alter. like any primitive. Immutable are those object whcih we can not alter like String
ex String s = "hello"
create a new object in string pool "hello" reffrenced by s
s = "hi"
create new string "hi" refrenced by s. above "hello" obj is still in string pool only the reffrence s is now maped to "hi".