Object (computer science)

This is an old revision of this page, as edited by Vera Cruz (talk | contribs) at 04:54, 16 January 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, an object is something that has an identity, a state, and a behaviour. The state is encoded in instance variables (data members), the behavior is encoded in methods (member functions). Objects are bundles of related variables and methods and are often used to model real-world objects.

Overview of Identities, States, and, Behaviours

The identity of a dog might be "Rex". It's states may include being happy, black, and poodle. Rex can engage in behaviors such as sleeping, barking, and eating.

Read on: object (philosophy), object-oriented language, object-oriented technology, computing