首页
下列哪个容器类使用时必须加入到其他的容器中?
精华吧
→
答案
→
知到智慧树
→
未分类
下列哪个容器类使用时必须加入到其他的容器中?
A.Window
B.Frame
C.Dialog
D.Panel
正确答案:D
Tag:
Java程序设计
容器
时间:2021-05-05 13:45:56
上一篇:
为了向一个Applet传递参数,可以在HTML文件的APPLET标签中使用PARAM选项,在Applet程序中获取参数时,应使用的方法是
下一篇:
在AWT中部件如何注册事件监听者?
相关答案
1.
下列Applet类的方法中,在Applet的整个生命周期里至多只能执行一次的是?
2.
paint()方法使用哪种类型的参数?
3.
g.drawRect(100,100,150,150);
4.
g.setColor(Color.red);
5.
g.drawLine(10,10,10,50);
6.
g.setColor(Color.black);
7.
关于以下代码所画图形的说明,正确的是?
8.
在Applet的方法中,下列哪个方法将在关闭浏览器时执行,以释放Applet占用的资源?
9.
以下叙述那个正确?
10.
当2个实际参数分别为4和0时,以下方法调用的执行结果为:
热门答案
1.
设有如下代码段
2.
检查下面的代码:
3.
下列关键字中用于明确抛出一个异常的是?
4.
假设m()方法声明抛出IO异常,哪个书写合法.
5.
在命令行输入如下命令,结果为
6.
自定义异常的父类是?
7.
在抽象类中,抽象方法定义正确的是?
8.
设有类定义如下:
9.
有关抽象类,以下哪点为真?
10.
Java中提供了处理字节流的类,即以InputStream和OutStream为基类派生出的一系列类。