Given the class declaration, class D : public class B {/*…*/}; Which of the following is true?

a) public members of B become public members of D
b) private members of D become public members of B
c) protected members of B become protected members of D
d) private members of B become public members of D
e) private members of B are inaccessible in D.


a) public members of B become public members of D
c) protected members of B become protected members of D
e) private members of B are inaccessible in D.

Computer Science & Information Technology

You might also like to view...

A Russian Doll design is much more compact than a(n) _______, but the multiple levels of nested elements can be confusing and can make it more difficult to debug.

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

Computer Science & Information Technology

A ____ allows you to store information in two or more different types of records and form a link between them.

A. file B. spreadsheet C. database D. relational database

Computer Science & Information Technology

The values you send to a function are called ____, or arguments, and are enclosed in parentheses.

A. events B. event handlers C. parameters D. scripts

Computer Science & Information Technology

Layer _____________ of the OSI model uses proprietary encryption devices.

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

Computer Science & Information Technology