Why Do Classes Use Mutator Methods #464
Why do classes use mutator methods?
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 OOps Classes - Object Oriented Programming MCQ: Class Use - Quiz No.2.
Why do classes use mutator methods?
Allows client to modify the program
Allows client to modify/write the private members
Allows servers to access all the private data
Allows servers to access only protected members