首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列代码的执行结果是( )。 public class Test{ public static void main(String args[ ]){ float t=9.0f; int q=5;
下列代码的执行结果是( )。 public class Test{ public static void main(String args[ ]){ float t=9.0f; int q=5;
admin
2009-02-15
26
问题
下列代码的执行结果是( )。 public class Test{ public static void main(String args[ ]){ float t=9.0f; int q=5; System.out.println((t++) * (- -q)); } }
选项
A、41
B、41.0
C、36
D、36.0
答案
8
解析
转载请注明原文地址:https://kaotiyun.com/show/HVnp777K
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
从内存中清除内存变量的命令是
在使用查询设计器创建查询时,为了指定在查询结果中是否包含重复记录(对应于DISTINCT),应该使用的选项卡是
基于图书表、读者和借阅表三个数据库表,它们的结构如下:图书(图书编号,书名,第一作者,出版社):图书编号、书名、第一作者和出版社为C型字段,图书编号为主关键字;读者(借书证号,单位,姓名,职称):借书证号、单位、姓名、职称为C型字段,借书证号为主关键字
从关系模式中指定若干个属性组成新的关系的运算称为
下程序段执行以后,内存变量y的值是CLEARx=12345y=0DOWHILEx>0y=y+x%10x=int(x/10)ENDDO?y
使用如下三个数据库表:图书(索书号,书名,出版社,定价,ISBN)借书证(借书证号,姓名,性别,专业,所在单位)借书记录(借阅号,索书号,借书证号,借书日期,还书日期)其中:定价是货币型,借书日期和还书日期是日期型,其他是字符型。从借书证表中删除
显示当前表单程序代码是ThisForm.Show,其中的Show是表单对象的()。
查询持有外币种类在4种以上人员的姓名,及持有的种类数量,并按种类数量升序排列,数量相同时,则按姓名降序排列,下列语句正确的是()。“外汇名”表:外币代码外币名称现钞买入价现钞卖出价基准价
编写程序three.prg完成下列操作:根据“外汇汇率"表中的数据产生rate表中的数据。要求:将所有“外汇汇率”表中的数据插入rate表中并且顺序不变,由于“外汇汇率”中的“币种1”和“币种2”存放的是外币名称,而rate表中的“币种1代码”和
在VisualFoxPro中,以下描述中错误的是
随机试题
地质时代包含两种意义:其一是各种地质事件发生的先后(),另一个是地质事件发生到今天有多大年龄。
类风湿因子血清表型主要是
聚证的特点是
具有降逆化痰、益气和胃功用的方剂是
男性,23岁,腹泻1日,大便6~7次/日,为水样便,无发热及里急后重感,便常规:脓细胞0~5/HP,便涂片染色,见G-短小弯曲杆菌,悬滴检查:见细菌活动力强,这种细菌最可能是
建设工程项目一般采用()方式。
Wehaveallheardhowtimeismorevaluablethanmoney,butisit【C1】________tohavetoomuch?I【C2】________backinhighschool
奥苏伯尔提出的三个主要影响迁移的认知结构变量是()。
A、 B、 C、 D、 D
关于万兆以太网的描述中,正确的是()。
最新回复
(
0
)