首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
执行以下语句后,输出的结果是 a$="Good" b$="Afternoon" Print a$+b$ Print a$&b $
执行以下语句后,输出的结果是 a$="Good" b$="Afternoon" Print a$+b$ Print a$&b $
admin
2009-02-13
25
问题
执行以下语句后,输出的结果是 a$="Good" b$="Afternoon" Print a$+b$ Print a$&b $
选项
A、Goodaftenoon GoodAfternoon
B、Good+ GoodAfternoon
C、Good+ Good&Afternoon
D、Good Good&
答案
1
解析
字符串的运算符有“&”,表示将两个字符串连接在一起,“+”也可以起到相同的作用,但为了使程序严谨并提高可读性,一般不使用“+”。
转载请注明原文地址:https://jikaoti.com/ti/GXq0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
请完成下列语句中应填的内容;FilepathName=newFile(orgs[0]);String[]fileNames=pathName.______;
规定功能的软件,在一定程序上对自身错误的作用(软件错误)具有屏蔽能力,则称此软件为具有______的软件。
下列哪个选项是short型数据的取值范围?()
在描述软件的结构和过程中,提出了以下的设计表达工具,其中不正确的说法是()
下列代码的执行结果是()。publicclassTest{publicstaticvoidmain(Stringargs[]){System.out.println(5/2):}
将E-R图转换到关系模式时,实体与联系都可以表示成
下列关于Java语言中的方法的叙述不正确的是()
Java语言具有的操作是()。
对长度为10的线性表进行冒泡排序,最坏情况下需要比较的次数为【】。
随机试题
相邻两个施工过程(或施工队)进入同一流水段的时间间隔称为()。
在项目国民经济评价中,下列关于影子工资及影子工资换算系数的表述,正确的有()。
股票、封闭式基金竞价交易出现下列( )情形之一的,证券交易所分别公告该股票、封闭式基金交易异常波动期间累计买入、卖出金额最大5家会员营业部的名称及其累计买入、卖出金额。
由于受到视野和视敏度的限制,在高空飞行的飞行员单凭肉眼很难发现和识别地面目标,例如飞机在六千米高空作水平飞行时,飞行员只能看到两侧八九公里和前方一二十公里狭窄范围内的地面。即使在这个区域里,对比较大的目标也不是总能准确无误地发现和识别的。但是,老鹰眼睛的视
论述阿蒙霍特普四世改革的背景、内容和失败的原因。
Cache的中文译名是()。
Thefollowingquestionspresentasentence,partofwhichorallofwhichisunderlined.Beneaththesentence,youwillfindfiv
Asaresultthecomposersendeduptakinghometapesofrealperformancesratherthandesperatelystrugglingto______thenotes
Alotofyoungpeoplefinditdifficulttogetajob,especiallyinthefirstfewmonthsaftertheyleaveschool.Thisismuchm
Mostofus【B1】______takingcertainthingsforgranted.Wetendtoassumethatexpertsand【B2】______leaderswilltellus"thetru
最新回复
(
0
)