电话:0731-83595998
导航

Java认证模考试题(二)

来源: 2017-12-19 10:48

 百度广告

Question: 6
A. fieldname

B. super

C. 3number

D. #number

E. $number 

Valid identifiers in Java can start with a letter, underscore (_), or dollar sign ($), but not with digits or other signs. And identifiers can not be keywords.

Correct Answer: A,E 6 of 60

 

 

Question: 7
A. const

B. NULL

C. false

D. this

E. native

Explanation: 

Correct Answer: A,C,D,E 7 of 60

 

 

Question: 8

WWW.CN-MPA.COM 2005-8-16 3:14:42
A. 22

B. 0x22

C. 022

D. 22H

Explanation: 

Correct Answer: A,B,C 8 of 60

 

 

Question: 9

 |||

Explanation: 
The length of the short data is 16 bits. The range of short is 

 

 Which one of the following ranges of byte is correct?

 

 

 

Correct Answer: B 10 of 60

 

Question: 11

WWW.CN-MPA.COM 2004-5-27 22:14:08

int i = 1;

int j;

j = i++;

B. 1, 2

C. 2, 1

D. 2, 2

Explanation: 

Correct Answer: C 11 of 60

 

 

 

Question: 12
A. >> is the arithmetic right shift operator.

B. >> is the logical right shift operator.

C. >>> is the arithmetic right shift operator.

D. >>> is the logical right shift operator.

Explanation: 
> and >>>. >> is the arithmetic(signed) right shift operator and >>> is the logical(unsigned) right shift operator.

Correct Answer: A,D 12 of 60

 

 

 

Question: 13
A. float a = 2.0

B. double b = 2.0

C. int c = 2

D. long d = 2

Explanation: 

Correct Answer: B,C,D 13 of 60

编辑推荐:

下载Word文档

温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)

网络课程 新人注册送三重礼

已有 22658 名学员学习以下课程通过考试

网友评论(共0条评论)

请自觉遵守互联网相关政策法规,评论内容只代表网友观点!

最新评论

点击加载更多评论>>

精品课程

更多
10781人学习

免费试听更多

相关推荐
图书更多+
  • 电网书籍
  • 财会书籍
  • 其它工学书籍
拼团课程更多+
  • 电气拼团课程
  • 财会拼团课程
  • 其它工学拼团
热门排行

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端