If you'd use the -Xlint option with the javac command, the compiler would tell you about those errors:


Running: D:\Java\jdk1.6.0_29\bin\javac.exe -Xlint Ch3PA1.java

Ch3PA1.java:40:...