Summary
We have reached the end of the first chapter. Let us summarize some of
what we have learned.
-
Object-oriented programming is not simply features added to
a programming language. Rather, it is a new way of thinking
-
Object-oriented programming views a program as a community of
agents, termed objects.
Each object is responsible for a specific task.
-
An object is an encapsulation of state (data values) and behavior
(operations).
-
The behavior of objects is dictated by the object
class.
-
An object will exhibit its behavior by invoking a method
in response to a message.
-
A method differs from a procedure in having a receiver, and in that
the interpretation of the method differs for different receivers.
-
Objects and classes extend the concept of abstract data types by
adding the notion of inheritance.
Intro OOP, Chapter 1, Slide 33