Multiple Choice
Data members or member functions of a class that are declared to be private may
A) only be accessed by the main program
B) only be accessed by members of the class
C) not be accessed by the class
D) are considered to be global variables
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q24: A class member function that automatically initializes
Q25: Who can access private members in a
Q26: The double colon ::) is known as
Q27: A member function of a class should
Q28: If you are designing a class for
Q30: The constructor of a class that does
Q31: In the following class constructor definition, the
Q32: A member function that allows the user
Q33: Developing an ADT means that the user
Q34: Given the following class and object declaration,