/* G. Hagopian
3. Define an abstract class and try to define an object of that type. What happens?
*/
#include <iostream>
using namespace std;

class A {
	protected:
		virtual void f() = 0;// 
};

class B : public A {
public:
	void f() { cout << "I'm a, B deriving from an A"; }
};

int main() {
	B b;
	b.f();
}