填空题

含有纯虚函数的类称为 【6】 。

【参考答案】

抽象类
<上一题 目录 下一题>
热门 试题

填空题
将以下程序写成三日运算表达式是 【9】 。if(a>b) max=a;else max=b;
填空题
下面程序的运行结果是 【10】 。#include<iostream>using namespace std;class count static int n;public: count() n++; static int test() for(int i=0;i<4;i++) n++; return n; ;int count::n = 0;int main() cout<<count :: test()<< ; count c1, c2; cout<<count :: test()<<end1; return 0;
相关试题
  • 若有以下程序:#include <iostream>usi...
  • Staff类含有int 型数据成员ID,两个Staff...
  • 下面程序的输出为 【11】 。#include...
  • 下列程序的输出结果为 【13】 。#incl...
  • 以下程序的执行结果是 【12 。#includ...