单选题 向Applet中画图、画图像、显示字符串,都要用的方法是{{U}} {{/U}}。
  • A. paint()
  • B. init()
  • C. start()
  • D. destroy()
【正确答案】 A
【答案解析】[解析] Applet是工作在图形方式下的,向Applet中画图、画图像、显示字符串,都要用paint()方法。每当Applet初次显示或更新时,浏览器都将调用paint()方法。