Declaration of abstract class in c++

0 votes
42 views
asked Dec 19, 2013 in C++ by nids

1 Answer

0 votes
answered Dec 19, 2013 by admin (8,135 points)

Hi

    The class becomes abstract, when one or more of its member function(s) declared as virtual and has no body (=0). This type of class can’t be instantiated, and then it is used as a base class only.

...