object orientation
- each object is capable of sending and receiving messages and processing data.
classes
-defines characteristics of an object
must include: (car)
-attributes (year, colour etc.)
-behaviours (turn(), on())
object
instance (example eg. golf car) of a class
instantiation
method
behaviour of an object
within a program usually only affects one object
(all cars can accelerate but program only needs golf car to accelerate)
method call
process sends data to another object or asks object to invoke a method.