首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下关键字不能用来声明类的访问权限的是( )。
以下关键字不能用来声明类的访问权限的是( )。
admin
2021-06-10
11
问题
以下关键字不能用来声明类的访问权限的是( )。
选项
A、public
B、static
C、protected
D、private
答案
B
解析
类的成员访问权限有3种:public(公用)、protected(保护)、prvate(私有)。
转载请注明原文地址:https://kaotiyun.com/show/lgfp777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
使用VC6打开考生文件夹下的源程序文件modi2.cpp。阅读下列函数说明和代码,完成空出部分的程序。函数func(intA[NUM],intn)实现的功能是将数组的内容进行一次重新排序。排序的方法是:给定11,则下标为i的数字与下标为n-i的数字交换。
使用VC6打开考生文件夹下的源程序文件modi2.cpp。完成函数fun(char*str,char*s)空出部分。函数fun(char*str,char*s)的功能是:将在字符串str中下标为偶数位置上的字符,紧随其后重复出现一次,放在一个新串s中,s
请使用VC6或使用【答题】菜单打开考生文件夹proj2下的工程proj2,该工程中含有一个源程序文件proj2.epp,请将堆栈类的定义补充完整。使程序的输出结果为:Theelementofstackare:4321
在函数中,可以用auto、extem、register和static这四个关键字中的一个来说明变量的存储类型,如果不说明存储类型,则默认的存储类型是()。
在数据管理技术发展的三个阶段中,数据共享最好的是
数据库管理系统是()。
已知类MyCiock中未显式定义构造函数,并重载了加法运算符,使得下面的语句序列能够正确执行:MyClockc1,c2;//……c2=c1+10;由此可知:为类MyClock重载的“+”运算符函数的声明是()。
数据库管理系统是()。
在C++中,编译系统自动为一个类生成缺省构造函数的条件是()。
随机试题
韦伯所认为的传统型统治的组织机构的最基本特征不包括
古典主义抒情原则的灵魂是()
关于协调性子宫收缩乏力,下列哪项正确:
基准站GNSS天线应具备(),以抑制多路径效应。
甲投资基金利用市场公开信息进行价值分析和投资,在下列效率不同的资本市场中,该投资基金可获取超额收益的有()。
利用已有的知识经验,从问题提供的各种信息中寻找最佳答案的思维方式是()。
2018年,M省进出口总值达到1034.4亿元,比上年增长9.9%。其中,出口378.6亿元,增长14.4%;M省加工贸易进出口总值比上年增长82.1%。与“一带一路”沿线国家贸易保持快速增长,其中对蒙古国、越南、德国、荷兰进出口分别比上年增长24.1%、
打开考生文件夹下的演示文稿yswg.pptx,按照下列要求完成对此文稿的修饰并保存。在第一张幻灯片前插入版式为“两栏内容”的新幻灯片,标题为“北京市出租车每月每车支出情况”,将考生文件夹下的图片文件ppt1.jpeg插入第一张幻灯片右侧内容区,将第二张
He(kept)his(head);(otherwise)theaccident(hadhappened)
Wehaveproducedtwiceasmuchsteelthisyear______4yearsago.
最新回复
(
0
)