Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 1:
In [[computer science]], an '''object''' is something that has an identity, a [[state]], and a [[behaviour]]. The state is encoded in [[instance variable]]s ([[data member]]s), the behavior is encoded in [[method]]s ([[member function]]s). Objects are bundles of related [[variable]]s and methods and are often used to model [[object (philosophy)|real-world objects]]. Objects can be affected by [[event-driven programming|event]]s. [[Object-oriented programming|Object-oriented programs]] typically contain a large number of objects.
It could be said that a class is a [[blueprint]], and an object is a [[house]]. An object belonging to a class is referred to as an [[instance]] of the class. If humanity were a class, than [you] would be an instance of the class [humanity].
==Overview of Identities, States, and, Behaviours==
|