Q:

下列代码的下划线处应填入的方法名是: import java.applet.*; import java.awt.*; public class Hello extends Applet { public void _____(Graphics g){ g.drawString("How are you!", 10, 10); } }

A .repaint


B .println


C .paint


D .show

对0人提供帮助

正确答案:C