| | Programming Paradigms - slide 8 : 8 |
Overview of the object-oriented paradigm
Send messages between objects to simulate the temporal evolution of a set of real world phenomena
- Characteristics:
- Discipline and idea
- The theory of concepts, and models of human interaction with real world phenomena
- Data as well as operations are encapsulated in objects
- Information hiding is used to protect internal properties of an object
- Objects interact by means of message passing
- A metaphor for applying an operation on an object
- In most object-oriented languages objects are grouped in classes
- Objects in classes are similar enough to allow programming of the classes,
as opposed to programming of the individual objects
- Classes represent concepts whereas objects represent phenomena
- Classes are organized in inheritance hierarchies
- Provides for class extension or specialization