填空题 C++ 题号 #1488896 收起答案及解析 进入在线模考 参考答案 暂无 答案解析 你可能感兴趣的试题 1 对基类数据成员的初始化必须派生类的构造函数中的___________处执行。 查看解析 → 2 在下面横线上填上适当的语句,完成程序。 #include<iostream> using namespace std; class TestClass { int x; public: TestClass (int i){x=i;} ~TestClass(){} }; class TestClass1:public TestClass { public: //完成类 TestClass1 构造函数的定义 }; int main() { TestClass1 Obj(); return 0; } 查看解析 → 3 查看解析 →