Nov 14, 2003 ------------- - Introduction to OOP - what is an object? - Objects - occupy space - can be addressed only using defined functions (interfaces) - Basic flavor of OOP - objects send messages to other objects - 2+3 is the message "+3" sent to object 2, requesting that it add 3 to itself. => returns the object 5 - Good OOP languages - Smalltalk, Simula => pioneered idea as well as programming environment (Alan Kay, Xerox PARC) - In Smalltalk, everything is an object - the illusion is complete - not so, in C++ - Objects and Classes - Basic characteristics of class definitions - private variables - member functions - friends (are "bad")