title: Why we need mutable classes?
body: <p>I read a chapter of Effective Java today. The chapter is about minimizing mutability of objects. I pretty understand why immutable objects are good, such as thread-safe, simplicity, etc. My question is since immutable objects have so many advantages, are there any cases where mutable objects are preferred? </p>