单项选择题

Applet运行时,被浏览器或AppletViewer调用的第一个方法是( )。

A.init()
B.paint()
C.stop()
D.start()
<上一题 目录 下一题>
热门 试题

单项选择题
执行下列程序后,输出结果为( )。 public class Test { public static void main (String[] args) { StringBuffer sb = new StringBuffer( 北京 2008 ); System. out. println ( length = + sb. length ( ) ); } }
A.length = 8
B.length = 10
C.length = 6
D.length = 20
相关试题
  • Applet生命周期方法有init()、 【15】...
  • 请阅读下面程序public class Test {pub...
  • 在Java语言中,用于杀死线程的类是 【10...
  • 在文件类提供的方法中,用于创建目录的方法...
  • Java的图形界面技术经历了两个发展阶段,分...