New course! Every coder should learn Generative AI!
Try a free lesson+ 2
what is the difference between setter and getter in Java?
3 Answers
+ 2
I think that, setter can sets the value for the variables and it can be accessed by getter using objects
0
yes, it's right
0
yes ur r8