Self-Test Questions


Suggested Projects

  1. Employee Class Revisited:   Revise the Employee class given in chapter 22, example 22.2 to utilize the new and improved Person class presented in this chapter. Employ the Object Usage Scenario Checklist and take the necessary steps to ensure that HourlyEmployee and SalariedEmployee derived class objects behave well in all seven usage scenarios.

  2. Create Comparator Classes For Employee Objects:   Create several Comparator classes that impose ordering on Employee objects. Create comparators that can be used to sort employees by employee number, age, and last name. Reuse as much functionality provided by the Person class as possible.




Java For Artists(c) The Art, Philosophy, and Science of Object-Oriented Programming
Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504052
EAN: 2147483647
Year: 2007
Pages: 452

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net