Draw Circles and Ellipses in Java Applet

import java.awt.*;
import java.applet.*;
public class circle extend Applet
{
 public void paint(Graphics g)
{
 g.drawOval(20,20,200,120);
 g.setColor(Color.green);
 g.fillOval(70,30,100,100);
}
}

<html>
   <head>
   </head>
   <body>
         <applet code = "circle.class" width = "600" height = "400"></applet>
   </body>
</html>