Object Oriented Principles
Class, object, attributes, states, methods, messages
OOP concepts
- Encapsulation and info hiding
- Polymorphism and Dynamic binding
- Inheritance (single vs multiple)
Design Criteria
- Cohesion
- Coupling
- Method

- Class

- Method
Law of Demeter
Connascence

Method Specification
Writen documents that include explicit
instructons on how to write the code to
implement the method
Specifcatons need to be iery clear and easy
to understand
There is no formal syntax specifcaton
General informaton
Method name, programmer assigned, due date,
target programming language, etc.
Eients that trigger the method
Example: Mouse-click, key-press
Message Passing
The message passing to and from the method
(described using sequence or collaboraton diagrams)
Algorithm Specifcaton
Writen in: Structured English, Pseudocode, etc.
Or drawn in: Actiity diagram or Sequence diagram


