[java 将日期转化为格林时间]JAVA题库:格林模拟试题二(下)(8)

JAVA认证试题集锦 2021-07-17 网络整理 可可

【shitiku.jxxyjl.com--JAVA认证试题集锦】

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

本文来源:https://shitiku.jxxyjl.com/javarenzhengshitijijin/6445.html

Copyright @ 2011- 考试题库网 All Rights Reserved. 版权所有

免责声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。

 站长统计