Question: There may be more than ONE ( 1 ) correct answers. Select all that apply. Which of the following statements are true about an immutable
There may be more than ONE correct answers. Select all that apply. Which of the following statements are true about an immutable object?
Group of answer choices
An immutable object contains no mutator methods.
All properties of an immutable object must be of primitive types.
All properties of an immutable object must be private.
An object type property in an immutable object must also be immutable.
The contents of an immutable object cannot be modified.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
