Diver.java, but I see
nine that need completing.
Answer: The handout
should say nine methods must be completed
in Diver.java.
Diver.java called
toString(), but I never see this method used in
TestDiver.java. Is this method ever tested?
Answer: Whenever a Diver object is used in a
String context --- for example, inside the
parentheses of System.out.println(...), the
toString() method is called. So
System.out.println(d1) is exactly the same as
System.out.println(d1.toString()).
Answer: By reading
TestDiver.java you'll get an indication of how the
structure of a method to get a diver wet must look.