Showing posts with label user defined Immutable Class. Show all posts
Showing posts with label user defined Immutable Class. Show all posts

Using Mutable Objects inside user defined Immutable Class

We may aware of creating user defined Immutable Class in Java. Basic steps to follow to create immutable class are Maintain all member variables and class has defined with final keyword so that variables...