import java.awt.Graphics; public class HelePall extends Pall{ //muutujad juba olemas public HelePall(int x, int y){ super(x, y); } public void joonista(Graphics g){ g.drawOval(x-r, y-r, 2*r, 2*r); } }