answer 55)
1) yield()
2) sleep
4) stop()
note, the methods stop and suspend have been deprecated with the java2 release, and you may get questions on the exam that expect you to know this. check out the java2 docs for an explanation
answer 56)
1) addelement
answer 57)
the import statement allows you to use a class directly instead of fully qualifying it with the full package name, adding more classess with the import statement does not cause a runtime performance overhad. i assure you this is true. an inner class can be defined with the protected modifier, though i am not certain why you would want to do it. an inner class can be defined with the private modifier, try compiling some sample code before emailing me to ask about this.
3)a inner class may under some circumstances be defined with the protected modifier
4) an interface cannot be instantiated
answer 58)
1) mousepressed(mouseevent e){}
4) componentadded(containerevent e){}
answer 59)
1) iterator
2) isempty
3) toarray
answer 60)
2) ensures only one thread at a time may access a method or object
end of document
① 凡本网注明稿件来源为"原创"的所有文字、图片和音视频稿件,版权均属本网所有。任何媒体、网站或个人转载、链接转贴或以其他方式复制发表时必须注明"稿件来源:我考网",违者本网将依法追究责任;
② 本网部分稿件来源于网络,任何单位或个人认为我考网发布的内容可能涉嫌侵犯其合法权益,应该及时向我考网书面反馈,并提供身份证明、权属证明及详细侵权情况证明,我考网在收到上述法律文件后,将会尽快移除被控侵权内容。