Suggested Projects


Skill-Building Exercises

  1. Research:   Procure a copy of Bertrand Meyer’s excellent book Object-Oriented Software Construction, Second Edition, and read it from front to back.

  2. Research:   Procure a copy of Robert C. Martin’s book Designing Object-Oriented C++ Applications Using The Booch Method. (Although the Booch diagramming notation has been superseded by the Unified Modeling Language, and the code examples are given in C++, the Java student will still gain much from reading this excellent work.)

  3. Research:   Conduct a web search for the keywords Liskov substitution principle, open-closed principle, dependency inversion principle, and Meyer design by contract programming.

  4. Design Modification:   Create a new checked exception named InvalidPreconditionException and utilize it instead of the Java assertion mechanism to signal invalid preconditions. (Hint: The Incrementer.incrementer() method, and any methods that override it, should throw this exception if the precondition is invalid.)




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