During java learning we are doing some command mistakes.I also do !!
That provide me motivation to write this blog so other developers do not like to west there time and focus on core logic.
Table of Contents
Problem:
> javac Demo
C:\Users\JavaDeveloperZone\Desktop>javac Demo error: Class names, 'Demo', are only accepted if annotation processing is explicitly requested 1 error
Solution:
When we are compile have program at that time we need pass .java extension of file. like
javac demo.java
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.