Select all the correct statements for a mutable object.
a. The class of the object must have a constructor method.
b. The class of the object can have a setter method.
c. Instance fields of the class can be declared as public.
d. The class of the object must have a getter method.
Answers
Answered by
0
Answer:
c. Instance fields of the class can be declared as public.
Similar questions
English,
2 months ago
Political Science,
2 months ago
Social Sciences,
5 months ago
Math,
5 months ago
CBSE BOARD X,
11 months ago
Science,
11 months ago
Math,
11 months ago