Q.

When an ADT is implemented as a C++ class, which of the following should normally be true?

A. Member functions are private, member variables are public
B. Member functions are public, member variables are private
C. Member functions as well as member variables are private
D. Member functions as well as member variables are public
Answer» B. Member functions are public, member variables are private
1.6k
0
Do you find this helpful?
14

View all MCQs in

CPP Programming

Discussion

No comments yet

Related MCQs