What must happen to allow private members of a class to be inherited by a derived class?

What will be an ideal response?

The private members must be declared as protected (or public) for the derived class to inherit the data.

Computer Science & Information Technology

You might also like to view...

When another presentation is merged with the current presentation, the ________ pane is opened showing slide changes and presentation changes

A) Revisions B) Merge C) Adjustment D) Changes

Computer Science & Information Technology

Which of the following statements is false?

a. A database can store more data more efficiently than sequential text files. b. When using a large amount of data, most developers prefer to use a DBMS. c. Visual Basic is used to interface with the user and a DBMS works directly with the data. d. Visual Basic statements can directly access database fields without using the DBMS.

Computer Science & Information Technology