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

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

Suggestion ::

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.