Answer the following questions true (T) or false (F)
1. It is useful to define a class for which no objects may be defined.
2. It is legal to have all member functions of a class be pure virtual functions.
1. True
Explanation: An abstract class is such a class. These are useful to prevent the implementation of incomplete class definitions and to force the implementation of pure virtual function members in the derived class.
2. True
Explanation: There is no restriction on having all non-constructor members be pure virtual member functions. You can even have pure virtual destructors.
You might also like to view...
A proxy can enhance performance through caching and filter communications.
Answer the following statement true (T) or false (F)
________ is the management activity involved in enterprise computing that deals with maintaining performance, measurement, and corrective action
A) Controlling B) Leading C) Organizing D) Planning
________ is a background color that appears behind text in a paragraph
Fill in the blank(s) with correct word
In Windows, the ribbon presents information about the progress of certain tasks, for example, and controls for viewing documents.
Answer the following statement true (T) or false (F)