填空题

Applet生命周期方法有init(),______(),stop()和destroy()。

【参考答案】

start
<上一题 目录 下一题>
热门 试题

填空题
下列程序的功能是创建了一个显示5个 Hello! 的线程并启动运行,请将程序补充完整。publicclassThreadTestextendsThread{publicstaticvoidmain(Stringargs[]){ThreadTestt=newt.start();}publicvoidrun(){inti=0;while(true){System.out.println( Hello! );if(i++==4)break;}}}
填空题
Swing的事件处理机制包括______、事件和事件监听者。
相关试题
  • Java对象串行化技术,主要是通过_____...
  • Swing的顶层容器有:JApplet,JWindow,JDi...