靖江突杖商务服务有限公司

當前位置:

java認證模擬試題及答案2

發(fā)表時間:2015/9/10 10:52:36 來源:互聯(lián)網(wǎng) 點擊關(guān)注微信:關(guān)注中大網(wǎng)校微信
關(guān)注公眾號

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考試資料

(責任編輯:zyc)

2頁,當前第1頁  第一頁  前一頁  下一頁
最近更新 考試動態(tài) 更多>
饶平县| 嘉荫县| 台东市| 玉山县| 珲春市| 寻乌县| 阿坝县| 长顺县| 巫溪县| 保德县| 全州县| 恭城| 九江市| 上杭县| 梁平县| 卢龙县| 台前县| 宝坻区| 凤山市| 内黄县| 庆阳市| 宜宾市| 宜丰县| 肥东县| 资兴市| 邻水| 从化市| 泉州市| 武平县| 巴塘县| 闻喜县| 皮山县| 黑龙江省| 许昌县| 清新县| 山阴县| 宿松县| 宣城市| 伊宁县| 会理县| 广河县|