can anyone tell me why the foll. program is not working.
i have also mentioned the error that occured when i interept the
program
"program"
import java.awt.*;
import java.applet.*;
public class Circle extends Applet
{
public void paint(Graphics g)
{
g.drawString("Sriram Web Page",20,20);
}
}
"error"
C:\jdk1.2.1\bin\prog>javac Circle.java
C:\jdk1.2.1\bin\prog>java Circle
Exception in thread "main" java.lang.NoSuchMethodError: main