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.


> javac Demo

C:\Users\JavaDeveloperZone\Desktop>javac Demo
error: Class names, 'Demo', are only accepted if annotation processing is explicitly requested
1 error


When we are compile have program at that time we need pass .java extension of file. like

javac demo.java

Was this post helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *