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

1) Constructors are inherited. After all something has to initialize the inherited variables.
2) When class D is derived from class B, the derived class is usually smaller. Explain.
3) B is a base class of D, then D’s members cannot access the private data members of B without regard to the kind of inheritance.
4) If B is a base class of D, then D’s members cannot invoke private member
functions of B without regard to the kind of inheritance.
5) If B is a public base class of D, then D’s members cannot invoke public members functions of B.


1) F
2) F
3) T
4) T
5) F

Computer Science & Information Technology

You might also like to view...

Functional interfaces must contain only one __________ method, but may also contain ____________ and static methods that are fully implemented in the interface declarations.

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

Computer Science & Information Technology

What is the extension for the NIS map data file?

A. .dat B. .mpd C. .pag D. .dir

Computer Science & Information Technology

When implementing LAN-based security like traffic management in a software-defined network, where are decisions about where traffic is to be sent made?

A. Data plane B. Control plane C. Kernel mode D. User mode

Computer Science & Information Technology

Which Blur filter simulates taking a picture of an object in motion?

A. Gaussian B. Smart C. Radial D. Motion

Computer Science & Information Technology