dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: C++
Expertise: Intermediate
Dec 5, 2002

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Abstract classes as interfaces

In software design, you should plan ahead the interface of a class hierarchy to make sure that all related concrete classes share a common interface. This can be achieved by using abstract classes. An abstract class is one having at least one pure virtual member function, i.e., a non-implemented placeholder, which must be implemented by its derived class(es). Mind that instances of an abstract class cannot be created, since it
Danny Kalev
 
Thanks for your registration, follow us on our social networks to keep up-to-date