Hi - I am in a beginning Java class and cannot figure out this assignment. We were given steps to do and I thought I had done them right but what I didn't expect were a whole bunch of 'cannot find symbol - variable XXX' for all of my variables (tuition, fees, rate, etc) which were declared.

Could someone take a look and help? I have to turn this in at noon....

The problem you are having is due to the scope you declared your variables in.

Since you declared them in the main method, they are method variables (only exist in the scope of the main method). If you want to use them in all of your static methods, you need to declare them as static members of the Tuition class

October 20th, 2010, 10:44 AM

skboone

Re: Help with Cannot Find Symbol Variable errors

Thanks so much! Any hint on how to go about doing that? (I'm just a java newbie!) :o