McqMate
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 |
View all MCQs in
CPP ProgrammingNo comments yet