第16题: [单项选择]Why do pet dogs love performing tricks for their masters A. To avoid being punished. B. To show their affection for their masters. C. To win leadership of the dog pack. D. To show their willingness to obey. 参考答案:D
第19题: [单项选择]当启动Applet程序时,首先调用的方法是( )。 A. stop() B. init() C. start() D. destroy() 参考答案:B 答案解析:[解析] 本题考查Applet程序的运行方式。在Applet运行时,首先由浏览器调用init()方法,所以选项B正确。初始化完成后,将调用start()方法时Applet成为激活状态。当Applet被