填空题 C++ 题号 #153238 在C++中封装性、继承性和【6】是面向对象思想的主要特征。 收起答案及解析 进入在线模考 参考答案 暂无 答案解析 多态性 你可能感兴趣的试题 1 下面程序的结果为【7】。 #include void main() { int a=1,b=2: bool c=1; if((a >b)‖C)cout<<”true”< else cout <<”false”< } 查看解析 → 2 下列for语句的循环次数为【8】。 for(int a=0,b=1;b&&a<5;a++); 查看解析 → 3 下面程序的输出结果是【9】。 #include void main() { int a[6]={1,2,3,4,5,6}; for(int i=0;i <5;i++) cout << cout < } 查看解析 →