Question: A setter's job is to ( select the 3 Correct Answers ) : Group of answer choices protect instance or class data ( if the
A setter's job is to select the Correct Answers:
Group of answer choices
protect instance or class data if the client agrees to use them
set values of data as requested by the client, if the values the client supplies supply is are deemed acceptable by the class designer.
remove client's direct access to the data, forcing them to always go through the mutators which would protect the data of the object or class.
return the value of the mutator's associated member data to the client.
return some indication like False or an error object of a possible error to the client, if the client requests something of the mutator that it cannot do based on the state of the object andor argument passed into the mutator.
print errors if bad data is passed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
