declared without an implementation
pure virtual method
virtual void eat(void) = 0;
abstract method
abstract void draw();
cannot be instantiated
cannot be instantiated; has at least 1 pure virtual method
class AB {public: virtual void f() = 0;};
cannot be instantiated; can have non-abstract methods
abstract class GraphicObject {}
no instance fields
nothing comparable to Java
very similar to abstract class, but 1) supports multiple inheritance; 2) no instance fields
interface TestInterface {}