Object Oriented Principles
Note
For a quick review of object oriented principles:
- Abstraction: Simplifying concepts by ignoring unimportant details.
- Encapsulation: Allows you to bundle data and functions into self-contained objects, so that other objects can interact with it through an exposed interface and restricting access to the data and dictate what can be done with it.
- Decomposition: Allows you to break a problem into smaller, distinct parts.
- Generalization: Allows you to factor out conceptual commonalities.