I am working through Head First
Java 2nd edition. It's been amazingly good. I am having a problem getting the code magnet exercise solution on p. 314 to compile. My code looks just like the solution:
I get the compile error message:
D:\projects\javatest>javac FullMoons.java
FullMoons.java:2: <identifier> expected
import static java.lang.System.out;
^
FullMoons.java:2: '.' expected
import static java.lang.System.out;
^
2 errors
Could someone give me a clue?
Thanks
D:\projects\javatest>
[ March 11, 2006: Message edited by: Marilyn de Queiroz ]