KnowledgeBoat Logo
|

Computer Applications

What is an object ? Give examples of some real world objects.

Objects & Classes

14 Likes

Answer

An object is an entity having a specific identity, specific characteristics and specific behaviour.

Examples:

  1. A car is an object.
    Characteristics — It has colour, length, width, height, model, a steering wheel, gear box etc.
    Behaviour — Accelerating, changing gears, braking, etc.
  2. A book is an object.
    Characteristics — It has a name, ISBN number, author, publisher, price, etc.
    Behaviour — Book can be read, opened/closed, borrowed/returned, etc.
  3. A student is an object.
    Characteristics — It has a name, age, address, class, section, subjects etc.
    Behaviour — He/she can study, play, sleep.

Answered By

7 Likes


Related Questions