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

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



question 55)
which of the following are methods of the thread class?
1) yield()
2) sleep(long msec)
3) go()
4) stop()



question 56)
which of the following methods are members of the vector class and allow you to input a new element
1) addelement
2) insert
3) append
4) additem



question 57)
which of the following statements are true?
1) adding more classes via import statements will cause a performance overhead, only import classes you actually use.
2) under no circumstances can a class be defined with the private modifier
3) a inner class may under some circumstances be defined with the protected modifier
4) an interface cannot be instantiated



question 58)
which of the following are correct event handling methods
1) mousepressed(mouseevent e){}
2) mousepressed(mouseclick e){}
3) functionkey(keypress k){}
4) componentadded(containerevent e){}



question 59)
which of the following are methods of the collection interface?
1) iterator
2) isempty
3) toarray
4) settext



question 60)
which of the following best describes the use of the synchronized keyword?
1) allows two process to run in paralell but to communicate with each other
2) ensures only one thread at a time may access a method or object
3) ensures that two or more processes will start and end at the same time
4) ensures that two or more threads will start and end at the same time

相关文章


JAVA题库:格林模拟试题三(上)(1)
学习笔记之JAVA图形设计卷IAWT——第一章绪论
Java新手入门:整理SCJP听课笔记
关于线程的讲解(出自Java原著)
JAVA题库:格林模拟试题二(下)(8)
技巧心得:对比C 和Java
技巧心得:Java走势分析
还在考1.2的同志请看
JAVA题库:格林模拟试题二(下)(7)
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛