C++ abstract class
abstract class
- a
class
defining an
interface
only; used as a
base class
. Declaring a
member function
pure virtual
makes its
class
abstract
and prevents creation of
objects
of the
abstract class
. Use of
abstract classes
is one of the most
effective
ways of minimizing the impact of changes in a
C++ program
and for minimizing
compilation time
. Example.
TC++PL
2.5.4, 12.4.2,
D&E
13.2. (
BSCppG
2012
)