What is an immutable object?
An object created for an immutable class is called as immutable object.
Final variable(object) created for a class, is called as immutable object.
If both condition 1 and 2 is applied then it will become an immutable object.
all are wrong
An immutable object is neither a final object/variable nor a final class. Immutable object means, the object whose states (data) can't be changed once set.
Back To Top