Solved

Which of the Following Statements Is True Relative to Classes

Question 30

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents