Do you get the following error?
Class names, 'Hello', are only accepted if annotation
processing is explicitly requested
1 error
In case you got this error, then you forget to add .java
to the file name when you compile it
So when you want to compile a file using cmd console window write the filename.java
extension
Example:
Javac Hello.java
If you write it in this way the error will go away. So don’t
forget to include suffix with your file name during compilation.
I m getting this error at runtime......wat should I do?????
ReplyDelete