Solved

Which of the Following Statements Is True Relative to Classes

Question 49

Multiple Choice

Which of the following statements is true relative to classes that will successfully compile?


A) They must have both mutator and accessor methods.
B) They must have accessors, and optionally may have mutators.
C) They must have mutators, and optionally may have accessors.
D) They may have either mutator or accessor methods, or both.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions