Answer the following questions true (T) or false (F)

1. You never put a declaration of an inherited member in the derived class.

2. In C++, inheritance has much to do with the gene pool. Explain.


1. False
Explanation: The one exception to this rule is the need to redefine a base class member function in the derived class.
2. False
Explanation: Inheritance has to do with class relationships where one class (the derived class) acquires (inherits) features from another class (the base class) and adds its own features to the inherited features.

Computer Science & Information Technology

You might also like to view...

A gateway address defines

a. the networking links between two LANs. b. the networking device that enables hosts in a LAN to connect to networks outside the LAN. c. the networking device that enables hosts in a LAN to connect to networks inside the LAN. d. All of these answers are correct.

Computer Science & Information Technology

If a framed Web page is divided into two columns, how many separate XHTML documents are needed to display the page?

A) 2 B) 3 C) 4 D) 1

Computer Science & Information Technology

The standard library functions rewind(), fseek(), and ftell() can be used to provide random access to a file.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

____ is relatively uncommon in data transmissions because most devices that are mainly one-directional, such as a printer, can still transmit error messages and other data back to the computer.

A. Half-duplex transmission B. Simplex transmission C. Full-duplex transmission D. Asynchronous transmission

Computer Science & Information Technology