In which of the following cases is a class member M invisible in a func
tion F?

a. F is a member function and M is private
b. F is a friend function and M is private
c. F is a general function and M is public
d. F is a general function and M is private
e. none of the above

D

Computer Science & Information Technology

You might also like to view...

A vector called aList has size 6. After the following function calls, what will its size be?

aList.push_back (someThing); aList.push_back(anyThing); aList.pop_back (); a) 5 b) 6 c) 7 d) 8

Computer Science & Information Technology

To declare a class as abstract, you use the ____________ in the class header.

a. void keyword b. new keyword c. abstract keyword d. static keyword

Computer Science & Information Technology