
Elements in Object-oriented Paradigm 1.7
Look around. You will notice lot of objects (things) such as pens, tables, laptops, students
and so on. Each thing has attributes, also called characteristics, like colour, height, weight
and age. The attributes belong to the object. For example, an object called student can have
attributes like name, number, marks and grades. Attributes are also called state of an object.
Most objects have their own behaviour. For example, an object called student can have
behaviour such as play, sing and learn.
So when we refer to an object called student, we refer to both attributes (state) and behav-
iour. We model an ...