A Brand Name ||Official Url :: Software UI Designer| Contents Designer | OS | W€B | Server | Programming | Computing Technology ::

Abstract Class

Abstract Class |


What is an Abstract Class  

An abstract class is that class which is not used to create objects. – It is designed to act as a base class for other derived classes.

An example is shown below :

class student 
{ . . . . .
 . . . . . 
}; 
class marks: public student 
{ . . . . .
 . . . . . }; 
int main() 
{ 
marks m; 
. . . . .
 . . . . . 
return 0; 
}

Advertisements