热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

模拟考试

设为首页

收藏此页面

订阅邮箱地址

Java Swing 面试题与答案

Test your skills through the online practice test: Java Swing Quiz Online Practice Test

问题 21. Which method is used by the applet to recognize the height and width?

getParameters()
Method is used by the applet to recognize the height and width.

这有帮助吗? 添加评论 查看评论
 

问题 22. When we should go for codebase in applet?

If the applet class is not in the same directory, codebase is used.

这有帮助吗? 添加评论 查看评论
 

问题 23. What is the lifecycle of an applet?

init( ) method - called when an applet is first loaded
start( ) method - called each time an applet is started
paint( ) method - called when the applet is minimized or maximized
stop( ) method - called when the browser moves off the applet's page
destroy( ) method - called when the browser is finished with the applet

这有帮助吗? 添加评论 查看评论
 

问题 24. Which method is used for setting security in applets?

setSecurityManager()
Method is used for setting security in applets.

这有帮助吗? 添加评论 查看评论
 

问题 25. What is an event and what are the models available for event handling?

Changing the state of an object is called an event. An event is an event object that describes a state of change. In other words, event occurs when an action is generated, like pressing a key on keyboard, clicking mouse, etc. There different types of models for handling events are event-inheritance model and event-delegation model.

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。