Programming in Java Illegal start of expression error
Hello,
I'm new to programming in Java and I want to know if there is anyone who's on advanced level of programming what means "Illegal start of expression" error that the java compiler "Netbeans" gives to me, in my opinion everything is ok.
The identifiers are ok, there is no punctuation problem.
The whole thing is that i want to create a method in the main class and in the public static void  main () method, so that i could manage the fields from that class.
Anyone please answer me !
illegal start of expression
read(java.lang.String) is already defined in BufferedInputFile
missing return statement
(Alt+Enter shows hints)