9. れ
伎 企るゼ 蟆 襷.
class One{ public: void SimpleOne(){cout<<One<<endl;} };
class Two{ public : void SImpleTwo(){cout<<Two<<endl;} };
class Multi : public One, protected Two{
public:
void Complex(){ SimpleOne(); SimpleTwo(); }
};
int main(void){
Multi mul;
mul.Complex();
return 0;
}
One
Two