References


Self-Test Questions

1. 

List and describe the preferred characteristics of an object-oriented architecture.

2. 

State the definition of the Liskov substitution principle.

3. 

Define the term class invariant.

4. 

What is the purpose of a method precondition?

5. 

What is the purpose of a method postcondition?

6. 

List and describe the three rules of the substitution principle.

7. 

Write the definition and goals of the open-closed principle.

8. 

Explain how the open-closed principle uses the Liskov substitution principle and Meyer design by contract programming to achieve its goals.

9. 

Write the definition and goals of the dependency inversion principle.

10. 

Explain how the dependency inversion principle builds upon the open-closed principle and the Liskov substitution principle/Meyer design by contract programming.




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