Posted by : Unknown
Thursday, 2 July 2015
import java.applet.Applet;
import java.awt.Graphics;
public class applet extends Applet
{
@Override
public void paint(Graphics g)
{
g.drawOval(10,10,30,30);
g.fillOval(50,50,80,40);
g.fillOval(150,110,30,60);
}
}
Output: