Beginning Java 2 SDK by Ivor Horton problems
When I try to compile the file with the class FormattedInput on page 291 I've got the following errors, I tryed also with taking the code from your website but I get the same errors:
C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin>javac TestFormattedInput.java
TestFormattedInput.java:3: cannot resolve symbol
symbol : class FormattedInput
location: class TestFormattedInput
FormattedInput kb = new FormattedInput();
^
TestFormattedInput.java:3: cannot resolve symbol
symbol : class FormattedInput
location: class TestFormattedInput
FormattedInput kb = new FormattedInput();
^
TestFormattedInput.java:12: cannot resolve symbol
symbol : class InvalidUserInputException
location: class TestFormattedInput
} catch (InvalidUserInputException e) {
^
3 errors
C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin>
Plz, help me.
|