Wednesday, September 23, 2009

Inheritance case study #2: Implementing interface inside a base class

class D1 {
public:
virtual void Test(int a) = 0;
};

class D4 {
public:
void Test(int d){

}
};

class D5 : public D1, public D4 {
public:
};

No comments:

Post a Comment