从Applet类扩展而创建的用户Applet新类。 类定义举例:public class hello2 extends Applet Applet依赖于浏览器的调用。 通过〈Applet〉标记嵌入在HTML文件中。