Re: Error help on println
The println call is in class scope (i.e. in the class body) instead of in method scope (i.e. inside a method). In general, you can only put variable and method declarations in the class body. Other code must go inside methods.
Incidentally, the Java naming convention is for class names to start with an uppercase letter and method & variable names to start with a lowercase letter.
Programs must be written for people to read, and only incidentally for machines to execute...
H. Abelson and G. Sussman
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.