Salman said:
One one please tell me whats the difference between ABSTRACT Class and
INTERFACE Class in c++. If you can explain me using examples, that
would be more good for me.
An abstract class is a class that has at least one pure virtual
function, thus cannot be instantiated directly. The idea is that
derived classes will override the virtual function, allowing multiple
types to be used using a common interface. See:
http://www.parashift.com/c++-faq-lite/abcs.html#faq-22.3
C++ has no notion of an "interface" class; however applying the Java
terminology to C++, an interface class would basically be an abstract
class that is composed entirely of pure virtual functions.