填空题

Swing的顶层容器有:JApplet,JWindow,JDialog和【 】。

【参考答案】

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

填空题
Applet生命周期方法有init(),【 】(),stop()和destroy()。
单项选择题
下列程序的输出结果是( )。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
相关试题
  • 有定义boolean b1=5!=6;,则变量b...
  • 在一个类的内部嵌套定义的类称为【 】。
  • Java对象串行化技术,主要是通过ObjectInpu...
  • 设有数组定义:int a[ ]= { 1l,...
  • 下列程序段的输出结果为【 】。int a=2...