Intro Oop
Intro Oop
ECE1112
Text Books:
Required: 1. C++ How To Program (4 Ed.), Deitel & Deitel, Prentice Hall,
1. Unstructured Programming
2. Procedural Programming
3. Modular Programming
4. Object-Oriented Programming
A program can be viewed as a sequence of procedure calls
Object-oriented programming
solves some of the problems just
mentioned.
In contrast to the other
techniques, we now have a web of
interacting objects, each house-
keeping its own state.
Objects of the program
interact by sending messages
to each other.
1. It exports a type.
type.
The state of the object changes according to the methods which are
applied to it.
We refer to these possible sequence of state changes as the behaviour
of the object.