Java Applet Program to Draw Three Coloured Circles

Write a Java Applet program to draw Three coloured circles.

Source Code
import java.applet.Applet;
import java.awt.Color;
import java.awt.Graphics;

public class ThreeCircleApplet extends Applet {

	public void paint(Graphics g) {
		// First circle filled with RED color
		g.fillOval(50, 50, 50, 50);
		// Second circle filled with GREEN color
		g.fillOval(50, 100, 50, 50);
		// Third circle filled with YELLOW color
		g.fillOval(50, 150, 50, 50);
/* <applet code="ThreeCircleApplet" width=200 height=250>

"Coding Hub - Learn to code" app now available on Google Play Store