I assume that BursaryTest and Bursary are in two separate files. Right? In BursaryTest, input, which is used in this line while(input.equalsIgnoreCase("Yes")); is not declared anywhere. Remember, in Java, variables must be declared before they are used.
For my latest books on Java, including Introducing JavaFX 8 Programming, see HerbSchildt.com
posted 16 years ago
Thanx i'll try t remember to declare all variables. thanx millions times.