Object – a self-contained unit that contains both data and its related functions
Key terms in object-oriented programming
Encapsulation – an object isolates both its data and its related instructions
Attributes – facts that describe the object
Also called properties
Methods – instructions that tell the object to do something
Messages – an outside stimulus that results in the change of the state of an object