首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
有如下类的定义,下划线处的语句是( )。 class MyClass { ______int x,y; public; MyClass(int a=0,int b=0)
有如下类的定义,下划线处的语句是( )。 class MyClass { ______int x,y; public; MyClass(int a=0,int b=0)
admin
2010-03-29
21
问题
有如下类的定义,下划线处的语句是( )。 class MyClass { ______int x,y; public; MyClass(int a=0,int b=0) { x=a; y=b; } static void change() { y-=10; y-=10; }; }
选项
A、static
B、const
C、mutable
D、不需要填入内容
答案
1
解析
转载请注明原文地址:https://kaotiyun.com/show/Ojjp777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
有以下程序:intfl(doublea){returna*a;)intf2(intx,inty){doublea,b;a=f1(x);b=n(y);return
有以下程序:main(){intk=33;printf("%d,%o,%x",k,k,k);}执行后的输出结果是()。
一般情况下,当对关系R和S进行自然连接时,要求R和S含有一个或者多个共有的
以下关于C语言函数参数传递方式的叙述正确的是()。
软件生命周期中的活动不包括()。
关系数据库管理系统能实现的专门关系运算包括()。
请编写一个函数fun,它的功能是:将ss所指字符串中所有下标为奇数位置卜的字母转换为大写(若该位置上不是字母,则不转换)。例如,若输入”abc4EFg”,则应输出”aBc4EFg”。注意:部分源程序存在文件PROGl.C中。请
请编写函数fun,函数的功能是:统计一行字符串中单词的个数,作为函数值返回。一行字符串在主函数中输入,规定所有单词由小写字母组成,单词之间由若干个空格隔开,一行的开始没有空格。注意:部分源程序在文件PROGl.C中。请勿改动主函数mai
软件开发中需求分析的主要任务是()。
在面向对象方法中,不属于“对象”基本特点的是()。
随机试题
根据损害部位可将龋病分为
各部门、各单位的预算支出,必须按照本级政府财政部门批复的预算科目和数额执行;确需做出调整的,须经()同意。
统计法律责任可以分为行政法律责任、民事法律责任和刑事法律责任。()
A公司是国内一家家用电器生产商。公司2014年末有关资产负债表(简表)项目及金额如下所示:该公司2014年的营业收入总额为40000万元,公司市场营销等相关部门预测,随着2015年家电行业与互联网的加速融合,智能家电将获得蓬勃发展。A公司依托强大的技术
甲公司将一幢自有二层楼房租赁给乙公司作为经营用房,双方签订租赁合同,合同约定:租赁期限自2006年1月1日至2009年12月31日,租金为每月5000元,在每月初的前3天支付上月的租金。合同未约定房屋维修责任的承担以及是否可以转租等问题。2007年3月,甲
某电器生产企业为增值税一般纳税人,2016年度会计自行核算取得营业收入25000万元、营业外收入3000万元、投资收益1000万元,扣除营业成本12000万元、营业外支出1000万元、税金及附加300万元、管理费用6000万元、销售费用5000万元、财务费
用差速离心法分离出某动物细胞的三种细胞器:甲、乙、丙。经测定,三种细胞器中蛋白质、脂质和核酸的含量如图l所示。下列说法正确的是()。
判断下面例句运用了什么修辞手法,并写出两个运用与例句相同的修辞手法的句子。难道语文就真的那么难学吗?修辞手法:______________。
Historiansareunderstandablyreluctantaboutpredictingthefuturebecauseofalltheunknownvariablesinvolved.Forexample,
以下程序的功能是:给r输入数据后计算半径为r的圆面积s。#include<stdio,h>main()/*Beginning*/{intr;floats;scanf("%d",&r);s=*Π*r
最新回复
(
0
)