with the help of an example try to make out the value of an object and how does that value makes then object a resource
Answers
Answered by
0
Answer:
Immutable classes are easier to design, implement, and use than mutable classes. Immutable objects are good Map keys and Set elements, since these typically do not change once created. Immutability makes it easier to write, use and reason about the code (class invariant is established once and then unchanged).
Explanation:
Similar questions