InterviewSolution
Saved Bookmarks
| 1. |
What Is Mutable Object And Immutable Object? |
|
Answer» If a OBJECT value is changeable then we can call it as MUTABLE object. (EX., StringBuffer, …) If you are not allowed to CHANGE the value of an object, it is immutable object. (Ex., String, INTEGER, Float, …) If a object value is changeable then we can call it as Mutable object. (Ex., StringBuffer, …) If you are not allowed to change the value of an object, it is immutable object. (Ex., String, Integer, Float, …) |
|