Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

About the concrete class 1

Status
Not open for further replies.

isaisa

Programmer
May 14, 2002
97
IN
Hi All,
I have come across one term while reading a book on C++ ... "Concrete class". The meaning of the term is not clear to me. Can anyone explain as to what a concrete class is and how it is different from the normal class?
Also when should i use the concrete class while programming in C++ ?

Thanks in advance.

Sanjay

 
A concrete class is different from an abstract (not normal) class. A concrete class is a normal class, if you want.
You may instantiate this class (create objects of the class). An abstract class (with pure virtual functions) is an interface declaration only, you must derive concrete classes from it (when you define all these pure virtual functions) to create objects.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top