I was trying to execute the program on Pg 346 from Head First Java, MiniMusicCmdLine but the below error message displayed. I have gone through the progream multiple times but could not located what is causing this error.
MiniMusicCmdLine.java:45: class, interface, or enum expected
MiniMusicCmdLine.java:8: cannot find symbol
symbol : method ParseInt(java.lang.String)
location: class java.lang.Integer
int instrument = Integer.ParseInt(args);
Sudheer Kolanu wrote:I have typed in everything. I just noticed that there was an extrac closing curly brace at the last which was not posted in this thread
Thanks for that...
but getting differnt error now.
That's the error I was talking about. Check the name of your method (tip: Java is case-sensitive)
No matter how many women are assigned to the project, a pregnancy takes nine months. Much longer than this tiny ad:
The WEB SERVICES and JAX-RS Coursehttps://coderanch.com/t/690789/WEB-SERVICES-JAX-RS