常州酌乒文化传播有限公司

當前位置:

JAVA認證考試專業(yè)語言模擬試題小測天天練2

發(fā)表時間:2015/6/7 15:33:27 來源:互聯(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考試模擬試題


(責任編輯:)

2頁,當前第1頁  第一頁  前一頁  下一頁
最近更新 考試動態(tài) 更多>
内乡县| 松江区| 龙州县| 南雄市| 赤城县| 巨野县| 广东省| 乌什县| 同江市| 西峡县| 饶河县| 和静县| 盐边县| 五寨县| 牡丹江市| 彰化市| 镶黄旗| 营口市| 卓资县| 红安县| 湘乡市| 新平| 民权县| 高平市| 鸡泽县| 乌兰浩特市| 环江| 康定县| 昆明市| 平原县| 佛山市| 庐江县| 浙江省| 辽阳县| 安图县| 崇明县| 饶阳县| 玉门市| 桂东县| 泊头市| 交口县|