填空题
类继承中,缺省的继承方式是______。
【参考答案】
私有继承
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
在关系数据库中,每一个二维表称为______。
点击查看答案&解析
单项选择题
有如下程序; #include <iostream> using namespace std; class Base public; Base(inti)x=i; void dispa0cout<<x<<’,’; private; int x; ; class Derived;public Base public; Derived(int i);Base(i+10) x=i;) void dispb()dispa();cout<<x<<end1; private; int x; ; int main() Derived b(2) ; b.dispb(); return 0; 运行的结果是( )。
A.2,2
B.12,2
C.12,10
D.10,2
点击查看答案&解析
相关试题
在TestClass类的定义中,对赋值运算符=进...
已知递归函数fun的定义如下: int fun(i...
有如下程序: #include<iostream> usi...
若需要把一个函数 void fun(): 定义...
有如下程序: #include<iostream> usi...