问题:[填空题]
第1处:classTransformTestFrameextendsJFrame第2处:classTransformPanelextendsJFrame第3处:publicvoidpaintComponent(Graphicsg)
● 参考解析
第1处类中公有对象名称应与类名一致;第2处为继承的父奚不正确;第3处从下面的super.paintComponent(g);可判断出应有参数Graphicsg。
推荐题目
相关标签