搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

现有:class Test2 fpublic static void main (String [] args) {short a,b,C;a=1;b=2;C=a+b;a+=2;}}以上代码中,哪一句是错误的?()

A、a=1;

B、C=a+b;

C、a+=2;

D、shorta,b,C;

更多“现有:class Test2 fpublic static void main (String [] args) {short a,b,C;a=1;b=2;C=a+b;a+=2;}}以上代码中,哪一句是错误的?()”相关的问题
第2题

A、A、tar -czvf test1 test2 test.gz  B、B、tar -czvf test.gz test1 test2  C、C、tar test.gz test1 test2  D、D、tar test1 test2 test.gz  

点击查看答案
第3题

A、 x = 0  B、 x = 42  C、 Compilation fails because of an error in line 2 of classTest2.  D、 Compilation fails because of an error in line 3 of classTest1.  E、 Compilation fails because of an error in line 4 of classTest2.  

点击查看答案
第4题

A、取消更新表TEST2中的NAME值  B、更新之前保证TEST2中有ID为2的记录  C、取消更新表TEST2中ID为2的记录的NAME值  D、更新操作完成之后赋给NAME原来的旧值  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服