最近中文字幕完整版高清,宅男宅女精品国产av天堂,亚洲欧美日韩综合一区二区,最新色国产精品精品视频,中文字幕日韩欧美就去鲁

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

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

question 36)which of the following are java key words
1)double
2)switch
3)then
4)instanceof

question 37)
what will be output by the following line?

system.out.println(math.floor(-2.1));
1) -2
2) 2.0
3) -3
4) -3.0

question 38)given the following main method in a class called cycle and a command line of

java cycle one two
what will be output?

public static void main(string bicycle[]){
system.out.println(bicycle[0]);
}
1) none of these options
2) cycle
3) one
4) two

question 39)which of the following statements are true?

1) at the root of the collection hierarchy is a class called collection
2) the collection interface contains a method called enumerator
3) the interator method returns an instance of the vector class
4) the set interface is designed for unique elements