首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列语句输出结果为( )。 public class test { public static void main (String args[]) { int x=10,y=9; boolean b=true; System.o
下列语句输出结果为( )。 public class test { public static void main (String args[]) { int x=10,y=9; boolean b=true; System.o
admin
2009-01-15
33
问题
下列语句输出结果为( )。 public class test { public static void main (String args[]) { int x=10,y=9; boolean b=true; System.out.println(x<y||!b); } }
选项
A、真
B、假
C、1
D、0
答案
2
解析
转载请注明原文地址:https://jikaoti.com/ti/cIb0FFFM
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
使用如下3个数据库表:学生表:S(学号,姓名,性别,出生日期,院系)课程表:C(课程号,课程名,学时)选课成绩表:SC(学号,课程号,成绩)在上述表中,出生日期数据类型为日期型,学时和成绩为数值型,其他均为字符型。用SQL语句查询选修的每门课程
在使用项目管理器时,选择移去文件,然后在提示的框中选择“移去”命令按钮,系统将会把该文件()。
下列关于项目及项目中文件的叙述,不正确的是()。
数据流图用于抽象描述一个软件的逻辑模型,数据流图由一些特定的图符构成。下列图符名标识的图符不属于数据流图合法图符的是()。
在软件开发中,需求分析阶段产生的主要文档是()。
(1)建立一个查询score_query。查询评委为“歌手编号”是“01002”的歌手所打的分数,结果存入自由表result中,该自由表的字段项包括:“评委姓名”和“分数”,各记录按“分数”升序排列。最后运行该查询。(2)根据上一步操作得到的自由表res
将自由表“外汇汇率”、“外汇账户”、“外汇代码”加入到新建的“外汇”数据库中。
二进制整数1011010转换成十进制数是
在Java语言的类库中提供哪个类,所有自己创建的异常对象都必须是它的实例或它的子类的实例?
随机试题
常伴有抽搐的甲状腺癌是
“三查七对、一注意”,一注意是指()。
关于三合土垫层,下列说法中错误的是()
旅游旺季,小王不慎丢失导游证,在补办导游证期间,他可去旅游局申领临时导游证,继续导游活动,以解导游人员短缺之急。()
捷克著名教育家夸美纽斯的《大教学论》(1632年)标志着教育学达到了科学化水平。()
青少年身体素质发育和运动能力的关系。
在秦朝中央集权制度下,掌管国家监察事务权力的是:
已知数列的递推公式如下:
SomeSchoolingonBackpacksAccordingtotheU.S.ConsumerProductSafetyCommission,5,900kidsweretreatedathospital
A、Hedidn’tknowwhatwouldhappenifhemadethesuggestion.B、Hedidn’tfeelnervousafterhehadputforwardthesuggestion.
最新回复
(
0
)