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

1. The class D inherits from base class B using public inheritance. The class B has public member function f(), but the derived class has no function member with this signature. The f() is not available to an object of class D.

2. Deriving a class from a base class requires serious changes to the base class.

1. False
Explanation: The derived class D inherits public members from class D.
2. False
Explanation: No changes are needed to derive one class from another.

Computer Science & Information Technology

You might also like to view...

The keyboard shortcut key of ________ shows the Immediate Window in the Visual Basic Editor or launches the Visual Basic Editor if it is not already open

A) Alt + F11 B) Ctrl + G C) Ctrl + Break D) F11

Computer Science & Information Technology

A(n) ____________________ is created in PowerPoint.

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

Computer Science & Information Technology