Kizspy | Question: 26
(Choose 3 answers)
Choose multiple correct answers.
A. The purpose of a getter method in Java is to get the value of a variable
B. The purpose of a setter method in Java is to set the value of a variable
C. return keyword used to define getter and setter method in Java
D. Access modifiers often used for getter or setter method is public