Well the problem is very weird. Whenever I used manual way to compile a java program by using "javac". I get error Something like this.
Invalid top level statement
But However when I use the "Compile" Button it compiles successfully. Also when I compile using "javac" in my Command prompt. It works Fine without any error. So I am really confused What is Wrong.
Not a big problem. But a bug indeed. Would be great if you would provide me a way to fix it.
Log in to post a comment.