一级做a爱片,色站综合,99偷拍视频精品一区二区,亚洲精品色无码AV

當(dāng)前位置:

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

發(fā)表時間:2015/6/8 11:32:53 來源:互聯(lián)網(wǎng) 點擊關(guān)注微信:關(guān)注中大網(wǎng)校微信
關(guān)注公眾號

Question: 14

Which one of the following arguments is the correct argument of the main() method?

A. char args[]

B. char args[][]

C. String arg[]

D. String args

Explanation:

The argument of the main() method is an array of String. Then only answer C is an array of String.

Correct Answer: C 14 of 60

Question: 15

Which one of the following is correct to create an array?

A. float f[][] = new float[6][6];

B. float []f[] = new float[6][6];

C. float f[][] = new float[][6];

D. float [][]f = new float[6][6];

E. float [][]f = new float[6][];

Explanation:

In Java the declaration format allows the square brackets to be at the left or right of the variable name. But the new float[][6] is illegal.

Correct Answer: A,B,D,E 15 of 60

Question: 16

Given the following expression: int m[] = {0, 1, 2, 3, 4, 5, 6 };

Which result of the following expressions equals to the number of the array elements?

A. m.length()

B. m.length

C. m.length()+1

D. m.length+1

Explanation:

The number of elements in an array is stored in the length attribute in the array object.

Correct Answer: B 16 of 60

Question: 17

Given the following command to run a correct class: java MyTest a b c

Which statements are true?

A. args[0] = MyTest a b c

B. args[0] = MyTest

C. args[0] = a

D. args[1]= 'b'

Explanation:

The three arguments a b c are stored in the args[] array of the main() method. Then args[0]= a, args[1]= b, args[2]= c.

Correct Answer: C 17 of 60

Question: 18

Given the following code:

public class Test{

long a[] = new long[10];

public static void main ( String arg[] ) {

System.out.println ( a[6] );

}

}

Which statement is true?

A. Output is null.

B. Output is 0.

C. When compile, some error will occur.

D. When running, some error will occur.

Explanation:

When an array is created the members of the array is initialized. In this case all the elements are initialized to be 0.

Correct Answer: B 18 of 60

編輯推薦:

JAVA認(rèn)證考試報考指南 / 更多JAVA考試模擬試題

(責(zé)任編輯:)

2頁,當(dāng)前第1頁  第一頁  前一頁  下一頁
最近更新 考試動態(tài) 更多>
波多野结衣一区| 伊人婷婷在线资源| 无码人妻少妇伦在线电影| 日韩成人欧美精品| 大香蕉丝袜人妻视频| 亚洲一区二区三区黄片| 深夜免费观看视频网站| 久久精品国产亚洲精品| PO网站视频| 亚洲最大色大成人av| 天天躁狠狠| 蜜臀第一页| 久久综合九九综合欧美98| 中文欧美一区二区| 欧美精品.pot| 日韩福利导航| 国产成人精品123区| 久久久无码精品亚洲日韩精东传媒| 国产变态一区| 亚洲高清h无码视频| 夜夜嗨aⅴ免费视频| 欧美亚洲色图视频| 中文字幕日韩人妻在线视频| 日韩精品中文字幕网站| 亚洲乱亚洲乱视频| 亚洲精品无码7777| 天天无码在线| 国产成人综合亚洲| 91真人短视频| wwww4444| 青青草草在线观看| 亚洲一本到无码av中文字幕| 青青爽在线视频精品| 久久久精品国产亚洲AV网10| 玖玖婷婷欧美| 欧美日韩日| 高清无码内射视频| 淫乱视频无码| 亚洲精品国产综合久久久久紧| 亚洲国产一区精品| 国产三级性爱在线观看|