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

當(dāng)前位置:

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

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

1.Which statement about the garbage collection mechanism are true?

A. Garbage collection require additional programe code in cases where multiple threads are running.

B. The programmer can indicate that a reference through a local variable is no longer of interest.

C. The programmer has a mechanism that explicity and immediately frees the memory used by Java objects.

D. The garbage collection mechanism can free the memory used by Java Object at explection time.

E. The garbage collection system never reclaims memory from objects while are still accessible to running user threads.

2. Give the following method:

1) public void method( ){

2) String a,b;

3) a=new String(“hello world”);

4) b=new String(“game over”);

5) System.out.println(a+b+”ok”);

6) a=null;

7) a=b;

8) System.out.println(a);

9) }

In the absence of compiler optimization, which is the earliest point the object a refered is definitely elibile to be garbage collection.

A. before line 3

B.before line 5

C. before line 6

D.before line 7

E. Before line 9

3. In the class java.awt.AWTEvent,which is the parent class upon which jdk1.1 awt events are based there is a method called getID which phrase accurately describes the return value of this method?

A. It is a reference to the object directly affected by the cause of the event.

B. It is an indication of the nature of the cause of the event.

C. It is an indication of the position of the mouse when it caused the event.

D. In the case of a mouse click, it is an indication of the text under the mouse at the time of the event.

E. It tells the state of certain keys on the keybord at the time of the event.

F. It is an indication of the time at which the event occurred.

4. Which statement about listener is true?

A. Most component allow multiple listeners to be added.

B. If multiple listener be add to a single component, the event only affected one listener.

C. Component don?t allow multiple listeners to be add.

D. The listener mechanism allows you to call an addXxxxListener method as many times as is needed, specifying as many different listeners as your design require.

5.Give the following code:

public class Example{

public static void main(String args[] ){

int l=0;

do{

System.out.println(“Doing it for l is:”+l);

}while(--l>0)

System.out.println(“Finish”);

}

}

Which well be output:

A. Doing it for l is 3

B. Doing it for l is 1

C. Doing it for l is 2

D. Doing it for l is 0

E. Doing it for l is ?C1

F. Finish

6. Give the code fragment:

1) switch(x){

2) case 1:System.out.println(“Test 1”);break;

3) case 2:

4) case 3:System.out.println(“Test 2”);break;

5) default:System.out.println(“end”);

6) }

which value of x would cause “Test 2” to the output:

A. 1

B. 2

C. 3

D. default

編輯推薦:

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

(責(zé)任編輯:)

2頁,當(dāng)前第1頁  第一頁  前一頁  下一頁
最近更新 考試動態(tài) 更多>
一级高清性爱视屏| 九九蜜臀| 人妻对白翘臀无码| 欧美日韩亚洲国产综合| 国产精品99九九视频| 亚洲伊人精品酒店| AⅤ成人在线观看| 国产黄色大片| 精品久热av| 久女女热精品视频在线观看| 色综合变态另类| 国产欧美日韩卡二| 久久激情偷拍| 视频 国产 中文| 无码 人妻 在线 视频| 中文字幕乱码人妻系列| 伊人天堂官网| 日韩你懂得| 喷水在线看| 免费三级黄色片| 亚洲涩av| 大香蕉AV电影网| 国产福利精品一区二区| 91久久18岁| avxxxx免费在线| 日韩精品无码久久久久久| 天堂8在线视频| av日天堂| 国产精品v片在线观看不卡| 色噜噜人妻丝袜av| 久久少妇免费观看视频| 亚洲欧美日韩国产综合| 尤物精品视频在线观看| 保姆无码在线一区二区| 欧美被狂躁喷白浆精品| 国产亚洲精品999| 色哟哟国产精品免费观看| 6月婷99| 亚洲狠狠的插| 国产精品无码久久综合网| 亚洲AV免费直接看|