主观

#include

using namespace std;

class base

{

private: int x;

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

int get( ){return x;}

void showbase( ) {cout<<"x="<

};

class Derived: public base

{private: int y;

public: Derived(int a,int b): base(a){y=b;}

void showderived( )

{cout<<"x="<

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

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服