InterviewSolution
Saved Bookmarks
| 1. |
Which is a true statement for object of String class?(a) Object are immutable(b) Object are mutable(c) Object are created only once(d) Object can’t be created |
|
Answer» The correct option is (a) Object are immutable The explanation is: The object of string class are mostly immutable. This means that the String objects are constant. These can’t be changed once created. |
|