亚洲精品成人18久久久久_日韩欧美色_江苏极品身材白嫩少妇自拍_曰本人做爰大片免费观看一老师_久草视频网_最近中文字幕MV高清在线视频

首頁 > 考試輔導(dǎo) > 計(jì)算機(jī)考試 > JAVA認(rèn)證 > JAVA認(rèn)證試題集錦 > JAVA題庫:格林模擬試題二(下)(4)

JAVA題庫:格林模擬試題二(下)(4)

question 40)which of the following statements are correct?

1) if multiple listeners are added to a component only events for the last listener added will be processed
2) if multiple listeners are added to a component the events will be processed for all but with no guarantee in the order
3) adding multiple listeners to a comnponent will cause a compile time error
4) you may remove as well add listeners to a component.

question 41)given the following code

class base{}
public class mycast extends base{
static boolean b1=false;
static int i = -1;
static double d = 10.1;
public static void main(string argv[]){
mycast m = new mycast();
base b = new base();
//here
}
}


which of the following, if inserted at the comment //here will allow the code to compile and run without error

1) b=m;
2) m=b;
3) d =i;
4) b1 =i;

question 42)which of the following statements about threading are true

1) you can only obtain a mutually exclusive lock on methods in a class that extends thread or implements runnable
2) you can obtain a mutually exclusive lock on any object
3) a thread can obtain a mutually exclusive lock on an object by calling a synchronized method on that object.
4) thread scheduling algorithms are platform dependent

question 43)your chief software designer has shown you a sketch of the new computer parts system she is about to create. at the top of the hierarchy is a class called computer and under this are two child classes. one is called linuxpc and one is called windowspc.

the main difference between the two is that one runs the linux operating system and the other runs the windows system (of course another difference is that one needs constant re-booting and the other runs reliably). under the windowspc are two sub classes one called server and one called workstation. how might you appraise your designers work?


1) give the goahead for further design using the current scheme
2) ask for a re-design of the hierarchy with changing the operating system to a field rather than class type
3) ask for the option of windowspc to be removed as it will soon be obsolete
4) change the hierarchy to remove the need for the superfluous computer class.

主站蜘蛛池模板: 成年人xxxx | 亚洲熟妇无码一区二区三区导航 | 黄色一级大片 | 人人99 | 色狠狠一区二区三区香蕉 | 国产原创大胆私拍视频 | 少妇porn| 天天舔天天色 | 亚洲国产精品尤物yw在线 | 嗯啊久久 | 国产精品1区2区3区在线观看 | 欧美婷婷六月丁香综合色 | 中文字幕av伊人av无码av | 亚洲九九影院 | 99色在线观看 | vr成人片在线播放网站 | 一级毛片性色一区二区视频在线 | 天天摸天天操视频 | 亚洲人在线观看视频 | 一区二区三区综合 | 日本熟妇洗澡videos | 女子喷水视频在线观看 | 国产99久久久欧美黑人 | 欧美日韩在线一区二区三区 | 色小妹三区 | 欧洲成人免费aa | 久热综合在线亚洲精品 | 香蕉成人| 亚洲国产欧美一区二区三区久久 | 日韩在线视频网址 | 亚洲欧美高清一区二区三区 | 91首页| 久久久久亚洲波多野结衣 | 亚洲一区区 | 99精品视频免费热播在线观看 | 飞虎神鹰1-42集免费 | 4438╳全国最大色倩网址 | 黄片毛片免费看 | 精品亚洲aⅴ一区二区三区 深夜激情视频 | 亚洲午夜精品A片一区二区三区 | 久久九九 |