A program is a bunch of objects telling each other what to do by sending messages . More concretely, you can think of a message as a request to call a function that belongs to a particular object. Each object has its own memory made up of other objects . Put another way, you create a new kind of object by making a package containing existing objects. Thus, you can build complexity in a program while hiding it behind the simplicity of objects.
Every object has a type .
This is actually a very loaded statement, as you will see later. This means you can write code that talks to shapes and automatically handle anything that fits the description of a shape. Corp. All Rights Reserved.