Answer the following questions true (T) or false (F)
1. The virtual property is not inherited.
2. A class that has a pure virtual member function is called a concrete base class.
1. False
Explanation: Suppose you derive from a base class with a virtual function. Then suppose you put a function in the derived class with the same signature as the virtual function in the base class. The derived class function will be automatically virtual, as will any member function with the same signature in any further derived classes.
2. False
Explanation: The term is abstract base class. Presence of a pure virtual function member makes a class abstract. A derived class must define the pure virtual member function or that member function must be pure virtual in the derived class and the derived class must itself be abstract. .No objects can be defined of an abstract class.
You might also like to view...
You can enter data into a database by typing directly into a table
Indicate whether the statement is true or false
A ________ can import data from data tables on a Web page
Fill in the blank(s) with correct word
You have a batch of data in a spreadsheet that you are going to analyze. What are some tips for working with the data set to help prevent and correct errors?
What will be an ideal response?
Which adaptation of EAP utilizes EAP-MSCHAPv2 inside of an encrypted TLS tunnel?
a. EAP-TLS b. Protected EAP (PEAP) c. EAP-FAST d. LEAP