Skip to main content

System.out.println errors

2 replies [Last post]
dave_krueger
Offline
Joined: 2006-02-17

I am new to Java and I am sure this is something that I am doing wrong...

I have been trying to write a simple applet but I am running into trouble with the system.out.println command. When it goes to compile and run I get the following:

java.lang.ClassCastException
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)

Any help would be greatly appreciated!!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miles2034
Offline
Joined: 2006-02-14

remember java is case sensitive . it should be [b]System[/b].out.println();
good luck.
p.s. i m having problems toooo. see prev i could use help tooooo.

miles2034
Offline
Joined: 2006-02-14

remember java is case sensitive . it should be System.ou.println();
good luck.
p.s. i m having problems to.