applet生命周期中的关键方法包括:【 】、start()、stop()、destroy()。
Applet生命周期中的关键方法包括:init()、start()、stop()和【 】。
下面是用户程序对Applet类中方法action()的重新定义,功能为从单行文本编辑区input中输入数据赋给k。Text Field类的对象input和int型变量k已在类体中正确说明。 Public ______ action(Evente,Object o) {if(e.target==input) k=Integer.parseInt(______ .get Text()): repaint(); return true; }
从下面提供的答案中选出应填入下列英文语句中______内的正确答案。
The most accurate and most boring way to(1)Java is that it is a new computer programming language developed by Sun Microsystems that creates(2)independent programs that can be distributed and run remotely. To run Java programs,a computer must have a Java interpreter. Currently(3)Java programs are small "applets" that are(3)as part of web pages.
When you use a Java(4)browser to view a Web page that includes a Java applet, the browser loads the applet onto your computer through your modem or network. Then the Java interpreter runs the applet, which could include animation or sound, on your computer rather than transmitting the code bit by bit over Internet. Afew thousand bytes of Java code can turn into a powerful program on your computer.
So an applet could include(5)with Java interpreter.