首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下关键字不能用来声明类的访问权限的是( )。
以下关键字不能用来声明类的访问权限的是( )。
admin
2015-07-22
14
问题
以下关键字不能用来声明类的访问权限的是( )。
选项
A、public
B、static
C、protected
D、private
答案
B
解析
类的成员访问权限有3种:public(公用)、protected(保护)、private(私有)。
转载请注明原文地址:https://kaotiyun.com/show/lNNp777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
有如下程序:#include<iostream>usingnamespacestd;classAA{public:virtualvoidf(){
一个项目具有一个项目主管,一个项目主管可管理多个项目。则实体集“项目主管”与实体集“项目”的联系属于【】的联系。
若有以下程序:#include<iostream>usingnamespacestd;classdatapublic:intx;data(intx){
在长度为64的有序线性表中进行顺序查找,最坏情况下需要比较的次数为
在E.R图中,图形包括矩形框、菱形框、椭圆框。其中表示实体联系的是【】框。
数据库应用系统中的核心问题是
磁盘文件操作中,打开磁盘文件的访问模式常量时,()是以追加方式打开文件的。
设有下列二叉树:对此二叉树前序遍历的结果为
在C++语言中每个类都有一个【】指针,该指针指向正在调用成员函数的对象。
用以下语句调用库函数malloc,使字符指针st指向具有11个字节的动态存储空间,请填空。st=(char*)【】;
随机试题
人民民主专政概念的第一次公开使用是在()
不属于经股动脉穿刺插管并发症的是
下列有关地图舌与扁平苔藓的鉴别,说法错误的是
A.耳蜗微音电位B.细胞内电位C.和电位D.蜗内电位E.听神经动作电位由血管纹细胞主动分泌所形成的电位是
椎间盘共有
兴源公司与郭某签订钢材买卖合同,并书面约定本合同一切争议由中国国际经济贸易仲裁委员会仲裁。兴源公司支付100万元预付款后,因郭某未履约依法解除了合同。郭某一直未将预付款返还,兴源公司遂提出返还货款的仲裁请求,仲裁庭适用简易程序审理,并作出裁决,支持该请求。
提出写赋是“雕虫篆刻”“壮夫不为”的人是()。
根据下列材料,回答问题。某水产公司共销售甲、乙、丙、丁四种鱼类产品。其在两个季度的销售额和销售量情况如下:在第二季度,其销售价格较上一季度涨幅最大的是()。
在SQLServer2008的某数据库中,设U1用户是R1角色中的成员,现已授予R1角色对T表具有SELECT和DENYUPDATE权限,同时授予了U1用户对T表具有INSERT和UPDATE权限,则U1用户最终对T表具有的权限是()。
Whichofthefollowingstatementsistrueaccordingtothespeaker?
最新回复
(
0
)