Mutable Class in Java Example

How to create an immutable class with mutable object referenc…