Java Study Notes - 2012/02/14: OOP Overview
OOP Characteristics:
- Accurate Data Management: No direct access to variables — access through surrounding member functions allows input validation, re-requests, self-transformation, or access denial
- Encapsulation: No direct external access — access only through member functions
- Inheritance: Reusability + Extension + Program module reuse
- Polymorphism: Ability to produce various results from the same interface
OOP represents a fundamental shift from procedural programming: instead of thinking in terms of procedures acting on data, we think in terms of objects that encapsulate both data and behavior.
