java.lang.ClassCastException
Hello
this is my error:
java.lang.ClassCastException: hello cannot be cast to java.applet.Applet
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The following is my HTML code:
<html>
<applet code = "hello.class" width = "300" height ="45">
</applet>
</html>
Here is my Java code
public class hello
{
public static void main( String args[] )
{
System.out.println("welcome to Java Programing!" );
}
}
I'm not seeing any output on the screen.

