填空题

输入输出在计算机中有两个主要作用,是 【10】 和提供数据处理结果。

【参考答案】

采集数据
<上一题 目录 下一题>
热门 试题

填空题
有如下代码片段,请在画线处填入正确的代码,使程序运行正确。import javax.swing.*;import java.awt.*;import java.event.*;public class JAppletTest extends 【12】 {public void init( ){Container contentPane = getContentPane( );Icon icon = new ImageIcon( swing.gif , A GIF on a swing );JLabel label = new JLabel( Swing! , icon, SwingConstants.CENTER);contentPane.add(label, BorderLayout.CENTER);}}
填空题
编写同时具有Applet与Application特征的程序,具体的方法是:作为Application要定义main()方法,并且把main()方法所在的类定义为一个 【13】 类,为使该程序成为一个Applet,main()方法所在的这个类必须继承Applet类或JApplet类。
相关试题
  • 下列JApplet使用重写paintCompon6t()方...
  • 现在有Java Applet小程序的源程序文件MyAp...
  • 下面ChangeTitle()中对b1和b2按键构造...