Example of Modifiers
class parent {public: virtual void test () { printf("in parent test\n"); }
class child : public parent {private: void test () { printf("in parent test\n"); }
child * c = (parent *) p;
c->test(); // compile error, cannot invoke private method