填空题

有如下类声明:
class MyClass

int i;
private:intj;
protected: int k;
public: int m,n;
;
其中,私有成员的数量为______。

【参考答案】

B
<上一题 目录 下一题>
热门 试题

填空题
下面程序的运行结果是______。 #include <iostream.h> void fun(int&a,int b=3) static int i=2; a=a+b+i; i=i+a; void main() int x=5,y=2; fun(x,y); cout<<x<< , ; fun(x); cout<<x<<endl;
填空题
语句cout<<setiosflags(ios::showpos)<<125<< t <<-125<<endl;的输出结果为______。
相关试题
  • 在面向对象设计中,对象有很多基本特点,其...
  • 对关系S和R进行集合运算,产生的元组属于S...
  • 在创建数据库表结构时,给该表指定了主索引...
  • 将E-R图转换到关系模式时,实体与联系都可...
  • 在一棵二叉树上第5层的结点数最多是( )。