- Encapsulation
- Inheritance
- Polymorphism
- Abstraction
- Cohesion
- Coupling
Succinct descriptions and examples
Encapsulation
Separation of what varies and what stays the same. Hiding complexity
Inheritance
Ability to get attributes and behaviour from another class. A super class.
Polymorphism
Programming to a single interface not an implementation.
Abstraction
Presentation of simple concept to outside word
Cohesion
Measure of how closely a class supports a single well focus purpose and/or responsibility.
Coupling
Coupling is the degree to which a class knows about another class.
No comments:
Post a Comment