首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
阅读下列代码: public class Test2005{ public static void main(String args[]){ System.out.pdntln((3>2)?4:5);
阅读下列代码: public class Test2005{ public static void main(String args[]){ System.out.pdntln((3>2)?4:5);
admin
2010-07-28
53
问题
阅读下列代码: public class Test2005{ public static void main(String args[]){ System.out.pdntln((3>2)?4:5); } } 其运行结果是( )。
选项
A、2
B、3
C、4
D、5
答案
4
解析
转载请注明原文地址:https://kaotiyun.com/show/yA9p777K
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
下列数据结构中,能够按照“先进后出”原则存取数据的是
数据库设计中,用E-R图来描述信息结构但不涉及信息在计算机中的表示,它属于数据库设计的
结构化程序所要求的基本结构不包括
面向对象方法中,继承是指
在下列关系运算中,不改变关系表中的属性个数但能减少元组个数的是
在数据库系统中,用户所见的数据模式为
下面关于Python中函数的说法错误的是()。
下面关于Python中函数参数的说法错误的是()。
下面代码的输出结果是()。defadd(x):ifx>0:returnx+add(x一1)else:return0result=add(10)print(result)
下面关于类的说法错误的是()。
随机试题
妄想状态多见于()
对某种物体或某种情景的恐惧,如怕蛇、怕狗、害怕开车、害怕医院、害怕死亡等,这种恐惧症属于
皮质醇增多症,较少见的临床表现是
小儿药物剂量计算常用方法不包括
关于行政许可的说法,正确的有()。
世界城市体系除具有明显的等级层次性外,其内部结构还存在着支配与从属关系,其包含的主要区域不包括()。
根据《公司法》的规定,股份有限公司股份转让限制,下列选项不符合法律规定的有( )。
Today,deep-oceanminingisdoneonlybytheoilandgasindustry.Yetthedreamofminingthemineralwealthofthedeephasne
Howmanyyearsoffinancialstatusshouldthemanoffer?
A、Meetinginterestingpeopleinthecity.B、Beingabletoenjoybeingoutdoors.C、Drivinginunsettledweather.D、Takinglongdr
最新回复
(
0
)