Declaration of abstract class in c++

This tip submitted by Ali Nawkhas Murad on 2012-01-23 22:35:55. It has been viewed 21883 times.
Rating of 5.4 with 155 votes

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.

More tips

Help your fellow programmers! Add a tip!