invalid method declaration; return type required??????????
843810Jun 12 2003 — edited Jun 24 2003this is what I type in (the .java file is hello.java)(i put the .java file into my bin folder, but I am not sure I had to do that):
-------------------
cd C:\j2sdk\bin
C:\j2sdk\bin>java hello.java
hello.java:5: invalid method declaration; return type required
main(){
^
1 error
--------------------
that is it, help me plz