Applet生命周期中的关键方法包括:init()、start()、stop()和【 】。
从下面提供的答案中选出应填入下列英文语句中______内的正确答案。
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.
A.init()函数在Applet击活之前运行,start()函数在Applet击活之后运行
B.start()函数在Applet击活之前运行,init()函数在Applet击活之后运行
C.start()、init()函数都在Applet击活之前运行
D.start()、init()函数都在Applet击活之后运行
Applet在HTML中的标记是()
A、< java >;
B、< java applet >;
C、< applet >;
D、< java.applet >
当浏览器重新返回Applet所在页面时,将调用Applet类的方法是()。
A.start
B.init
C.stop
D.destroy
Panel和Applet的默认的布局管理器是 ()
A.CardLayout
B.BorderLayout
C.lowLayout
D.GridLayout