Declaration of abstract class in c++

This tip submitted by Ali Nawkhas Murad on 2012-01-23 22:35:55. It has been viewed 9077 times.
Rating of 8.1 with 55 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!