I am teaching myself Java by going through a book written for Cobol programmers. I get this 'Can't resolve symbol' error when I try to use this statement":
ErrorMsg setErrorMsg = new ErrorMsg;
The error seems to be pointing to 'ErrorMsg'. Now, I have already defined in the same directory an ErrorMsg class (a file called ErrorMsg.java).
I am not sure what else to do. If more information is needed, let me know and I will post it.
Thanks!
Ralph
ErrorMsg setErrorMsg = new ErrorMsg;
The error seems to be pointing to 'ErrorMsg'. Now, I have already defined in the same directory an ErrorMsg class (a file called ErrorMsg.java).
I am not sure what else to do. If more information is needed, let me know and I will post it.
Thanks!
Ralph