Uncomment those lines and everything should work fine. I would recommend making them public, though, because after all, it is an interface. Override all the methods in a concrete class.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
methods in an interface are implicitly public, no need to declare them as such (at least in the interface, in the implementing class they MUST be declared public).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
the book is designed to make you think for yourself rather than present everything to you in nice predigested chunks or cud.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
The Java certification book gives you all the details about everything including interfaces and many other things. It's a MUST read if you want specifics.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
I initially learned Java from O'Reilly's Java in a Nutshell, then went on to read the JLS.
I now have enough books about the platform to fill a small library...
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337