Objects First |
|
In the first chapter, the idea of modelling objects in real or virtual domains is introduced.
We look at constructing classes
which define allowed behaviours of objects in our real or virtual world.
The first lab exercise is not the "Hello world" program but one which uses an
already coded class definition to perform some simple manipulations
of an object.
Thus the information hiding principle is one of the first things
you will meet - and appreciate the benefits of - as you manipulate objects
through an abstract (yet simple and natural) specification.
The object model is used extensively - even the traditional concepts of variable type are introduced in terms of classes.
|
Throughout these notes, when new terms are introduced
for the first time,
they will be set in bold face
like this.
These are key terms: you should make sure that you understand their
meaning and significance!
Sometimes - as here - these terms will be familiar words ("class") used with a new and specific meaning in a programming context. |
Key terms |
|
Continue on to Introduction to Classes Back to the Table of Contents |