JAVA题库:格林模拟试题二(下)(3)

文章作者 100test 发表时间 2007:03:14 17:05:30
来源 100Test.Com百考试题网


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



相关文章


Java虚拟机参数详解
Java2新的焦点子系统
带你步入J2EE殿堂:最易懂的J2EE实例
JAVA题库:格林模拟试题二(下)(5)
JAVA题库:格林模拟试题二(下)(3)
对象引用是怎样严重影响垃圾收集器
谈谈Java语言的垃圾收集器
技巧显得:XML带来的好处
为Java加速——JBuilder6可视化开发环境
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛