首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列程序执行的结果是______。 public class exl4 { public static void main(String[] args) { int
下列程序执行的结果是______。 public class exl4 { public static void main(String[] args) { int
admin
2008-01-11
24
问题
下列程序执行的结果是______。 public class exl4 { public static void main(String[] args) { int a=3; int b=5; int c=4; if ( ( ! (a==b)) && (a!=b) && (a<b| |b<a) ) System.out.println ("good!"); else if {a*a+c* c==b*b] System. out.println (b); else System.out.println (a+c); } }
选项
A、7
B、5
C、25
D、good!
答案
D
解析
转载请注明原文地址:https://kaotiyun.com/show/nbnp777K
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
下面关于数据环境和数据环境中两个表之间关联的陈述中,正确的是
以下关于数据管理发展的描述错误的是
从项目“学生管理.pjx”连编应用程序“学生管理系统”应使用的命令是
报表的数据源可以是
在一个容量为15的循环队列中,若头指针front=6,尾指针rear=9,则循环队列中的元素个数为
下列叙述中正确的是
(1)打开名称为sdb的学生数据库,分别为学生表student、选课成绩表sc和课程表course创建主索引。student表主索引的索引名和索引表达式均为“学号”:course表主索引的索引名和索引表达式均为“课程号”;sc表的主索引名为PK_SC,索引
以下关于数据管理发展的描述错误的是
按照“后进先出”原则组织数据的数据结构是
随机试题
【背景资料】某小区内拟建一座6层普通砖混结构住宅楼,外墙厚370mm,内墙厚240mm,抗震设防烈度7度。某施工单位于2011年5月与建设单位签订了该工程总承包合同。合同工程量清单报价中写明:瓷砖墙面积为1000m2,综合单价为110元/m
对控股企业的股权投资,应按以下哪种方法来确定评估值()
常用腧穴中天枢的位置是()
荆芥的气味广藿香的气味
为保证工程建筑物在施工、使用和运营中的安全,必须进行变形观测。建筑工程的变形观测包括裂缝观测和( )。
背景某消防工程,建筑面积24700mm2,地下一层,地上十五层。现浇钢筋混凝土框架结构,建设单位依法进行招标,投标报价执行《建设工程工程量清单计价规范》(GB50500一2008)。现有甲、乙、丙等8家单位参加了工程投标,经过公开开标、评标,最
错账更正时,划线更正法的适用范围是()。
试述弗里德曼的货币需求理论。(东北财经大学2013真题;东北财经大学2014真题)
[*]
"Lead(metal)"and"lead(dog’shead)"arespeltinthesameway,butpronounceddifferently.Thiskindofsenserelationiscall
最新回复
(
0
)