中文一二三区_九九在线中文字幕无码_国产一二区av_38激情网_欧美一区=区三区_亚洲高清免费观看在线视频

首頁 > 考試輔導 > 計算機考試 > JAVA認證 > JAVA認證試題集錦 > JAVA題庫:格林模擬試題二(下)(2)

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

question 33)what will happen when you attempt to compile and run this code

//demonstration of event handling
import java.awt.*;
import java.awt.event.*;
public class mywc extends frame implements windowlistener{
public static void main(string argv[]){
mywc mwc = new mywc();
}
public void windowclosing(windowevent we){
system.exit(0);
}//end of windowclosing
public void mywc(){
setsize(300,300);
setvisible(true);
}
}//end of class
1) error at compile time
2) visible frame created that that can be closed
3) compilation but no output at run time
4) error at compile time because of comment before import statements

question 34)which option most fully describes will happen when you attempt to compile and run the following code

public class myar{
public static void main(string argv[]) {
myar m = new myar();
m.amethod();
}
public void amethod(){
static int i;
system.out.println(i);
}
}

1) compilation and output of the value 0
2) compile time error because i has not been initialized
3) compilation and output of null
4) compile time error

question 35)which of the following will compile correctly

1) short myshort = 99s;
2) string name = 'excellent tutorial mr green';
3) char c = 17c;
4)int z = 015;
主站蜘蛛池模板: 九九视频国产免 | 欧一区二区三区 | 亚洲一区二区精品蜜桃 | 国产精品久久久久久福利 | 亚洲人视频 | 国产精品av无码毛片久久 | 两性毛片 | av网免费观看| 一区二区三区四区 | 国产yw851.c免费观看网站 | 午夜国产精品影院在线观看 | 中国杭州少妇xxxx做受 | 欧美精品第一区 | 97久久人人爽人人爽人人片 | 国产55页| 一及毛片视频 | 岛国AV在线无码播放 | 无码精品人妻一区二区三区湄公河 | 久久人人爽人人人澡A片 | 久久精品无码一区二区三区不卡 | 韩日av在线免费观看 | 国产精品亚洲a∨天堂 | 久久久久狠狠高潮亚洲精品 | 国产成人无码免费视频在线 | 无码欧美多人性站交大战 | 让少妇爽到高潮视频 | 天堂色影院 | 欧美xxxx色视频在线观看 | 亚洲精品一区二区无码夜色 | 日本在线免费看 | 超碰成人91 | 99热精品在线 | 亚洲在线观看免费视频 | 亚欧美日韩香蕉在线播放视频 | 国产xxxx69 | 成人av片在线观看免费 | 麻豆传谋在线观看免费mv | 欧美国产精品粉嫩在线播放 | 日韩理论午夜无码 | 国产精品理论一区 | 中文字幕一区二区三区视频 |