主观

#include ﹤iostream.h﹥

class test{

private: int x;

public: test(int a){x=a;}

void set(int a){x=a;}

void get( ){cout﹤﹤x﹤﹤endl;

};

class test1: public test{

private: int x;

public: test1(int a){x=a;}

void set(int a){x=a;}

void get( ){cout﹤﹤′ ′﹤﹤endl;

};

参考答案
您可能感兴趣的试题
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服