What makes an object?

A good answer might be:

Here is my completely unofficial list:

  • An object is made of tangible material (the pen is made of plastic, metal, ink)
  • An object holds together as a single whole (the whole pen, not a fog.)
  • An object has properties (the color of the pen, where it is, how thick it writes...)
  • An object can do things and can have things done to it.

Characteristics of Objects

The first item in this list is too restrictive. For example, you can think of your bank account as an object, but it is not made of material (although you and the bank may use material in keeping track of your account, your account exists independently of this material.) Although it is not material your account has properties (the balance, interest rate, owner) and you can do things to it (deposit money, cancel it) and it can do things (charge for transcactions, appreciate interest.)

The last three items on the list seem clear enough. In fact, they have names:

  • An object has identity (it acts as a single whole.)
  • An object has state (it has various properties, which might change.)
  • An object has behavior (it can do things and can have things done to it.)


This is a somewhat ordinary description of what an object is like. Do not be surprised if other notes and books have a different list. When you start writing object-oriented software you will find that it is hard to decide exactly what your objects are.

QUESTION 3:

Consider a tube of four yellow tennis balls.

  • Is the tube of tennis balls an object?
  • Is each tennis ball an object?
  • Could the top two balls be considered a single object?
  • Is the color of the balls an object?
  • Is your understanding of tennis balls an object?

Click Here after you have answered the question