11.4 ༶ķԡ
µ:
class A//
{public:
  int i;
 protected:
  void f2( );
  int j;
 private:
  int k;
};

class B: public A              //publicʽ
{public:
void f3( );
 protected:
void f4( );
 private:
  int m;
};

class C: protected B           //protectedʽ
{public:
void f5( );
 private:
  int n;
};