Use of the parent class to parse what the parent knows and the parent returns a StringTokenizer or Scanner object which essentially gives "the rest" to the child.
Lab from Monday - http://java.sun.com/j2se/1.5.0/docs/api/ (Arrays class, sort method)
See HolidayAccount and Driver1.
See TwoPartMeasure, Length, and Driver2.
See book reference page 496 - 498.
Interfaces form an is-a relationship with their implementers.
Interfaces provide a compiler guarantee that a particular method will be implemented.
See Bernstein notes with examples
Department of Computer Science | Nancy Harris Home Page | Current Classes Link |