Multiple Choice
In a class definition, data or functions designated private are accessible
A) to any function in the program.
B) only if you know the password.
C) to member functions of that class.
D) only to public members of the class.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: Under what conditions a destructor destroys an
Q11: When class B is inherited from class
Q12: A function argument is<br>A)a variable in the
Q13: A function's single most important role is
Q14: What is a constructor?<br>A)a class automatically called
Q16: Which type of class has only one
Q17: An expression<br>A)usually evaluates to a numerical value.<br>B)may
Q18: Classes are useful because they<br>A)can closely model
Q19: It's perfectly all right to use variables
Q20: A variable of type char can hold