, Objects
• An entity that has state
and behaviour is
known as an object
e.g., chair, bike, marker,
pen, table, car, etc.
• The object is an
instance of a class.
Object = Data + Methods
, Characteristics of Objects
• An object has three characteristics:
– State: represents the data (value) of an object. It has
static and dynamic attributes/values.
– Behaviour: represents how objects interact with each
other. Such as functionality of an object such as walk,
run, etc.
– Identity: Property of an object which distinguish it from
other objects signifies its identity. An object identity is
typically implemented via a unique ID. Single or group
of attribute can help to identify an object