When should base class members be declared protected?

a. When all clients should be able to access these members.
b. When these members are used only by member functions of this base class.
c. When these members should be available only to derived classes (and friends), but not to other clients.
d. The protected access specified should never be used.


c. When these members should be available only to derived classes (and friends), but not to other clients.

Computer Science & Information Technology

You might also like to view...

Function float can raise a(n) __________ exception if its argument cannot be convert- ed to a floating-point value.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A Microsoft product with which you can make voice calls, make video calls, transfer files, or send messages over the Internet is:

a. SkyDrive b. Skype c. Office Web Apps

Computer Science & Information Technology

What is the parent folder for the path C:\DOCUMENTS\GAME1.PPTX?

A) C:\ B) C:\DOCUMENTS\GAME1 C) DOCUMENTS D) None of these answers are the parent folder.

Computer Science & Information Technology

The strongest technology that would assure Alice that Bob is the sender of a message is a(n) _____.

A. digital signature B. encrypted signature C. digest D. digital certificate

Computer Science & Information Technology