Which Among The Following Is True For Use Of Setter And Getter #263
Which among the following is true for use of setter() and getter() function?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Class Members & Types - Object Oriented Programming MCQ: Data Members - Quiz No.1.
Which among the following is true for use of setter() and getter() function?
Considered best for manipulating data values
Considered the only proper way to manipulate the values
Considered specially for private members manipulation
Considered a red flag, and not recommended for large scale use