填空题

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

【参考答案】

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

单项选择题
下列程序的输出结果是( )。class Father{int m.n;Father(int a,int B) { m=a;n=b}void show ( ){System.out.println( m and n: +m+ +n);}}class Son extends Father{int p;Son (int a,int b,int C) { super(a,B) ;p=c;}void show(){supur.show( );System.out.println( p: +p);}}class Test {public static void main (String args[ ]){ Son s:new Son(6,7,8); s.show( );}}
A. True
B. False
C.-1
D.1
单项选择题
下列程序执行后,k的值是( )。public class Testddd{public static void main(String args[ ]){inti;10,j=18 K=30;switch(j-i){ case 8:k++;case 9:k+ =2;case 10:k+ =3;default:k =j;}System.out.println(k); }}
A. ababcc
B.464688
C. 46abc8
D. 10abc8
相关试题
  • 有定义boolean b1=5!=6;,则变量b...
  • 在一个类的内部嵌套定义的类称为【 】。
  • Java对象串行化技术,主要是通过ObjectInpu...
  • 设有数组定义:int a[ ]= { 1l,...
  • 下列程序段的输出结果为【 】。int a=2...