Solved

If You Design a Class with Private Data Members, and Do

Question 51

Multiple Choice

If you design a class with private data members, and do not provide mutators and accessors, then


A) The private data members can still be accessed from outside the class by using the & operator
B) The data can not be changed or viewed by anyone.
C) None of the above
D) A and B

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