当前位置:

JAVA认证考试专业语言模拟试题小测天天练2

发表时间:2015/6/7 15:33:27 来源:互联网 点击关注微信:关注中大网校微信
关注公众号

Question: 6

Which are the valid identifiers in Java?

A. fieldname

B. super

C. 3number

D. #number

E. $number

Explanation:

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

Which are valid Java keywords?

A. const

B. NULL

C. false

D. this

E. native

Explanation:

All the keywords in Java are lowercase. goto and const are keywords that are not used in Java programming language.

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

Question: 8

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

Which are valid integral expressions in Java?

A. 22

B. 0x22

C. 022

D. 22H

Explanation:

In Java integral has three forms: decimal, octal and hexadecimal. Octal values start with a zero and hexadecimal values start with 0x.

Correct Answer: A,B,C 8 of 60

Question: 9

Which one of the following ranges of short is correct?

编辑推荐:

JAVA认证考试报考指南 / 更多JAVA考试模拟试题


(责任编辑:)

2页,当前第1页  第一页  前一页  下一页
最近更新 考试动态 更多>

考试科目