class Base
{
public:
virtual void Testfun1(){i=1;j=2;}
virtual void Testfun2(){i=11;j=22;}
void Test(){cout<<"Base TEst\n";}
private:
int i;
int j;
};
class SubClass :public Base
{
public:
void Testfun1(){i=44;j=55;}
void Test(){cout<<"SubClass TEst\n";}
private:
int i;
int j;
};