Object Oriented Software Engineering View all facts Glossary Help |
subject > programming language construct > data item > object |
object (instance, instance: instance is used when you are talking about the role with respect to the class and object is used when talking in a more general way) | ||||
subject | fact |
object | is a synonym of instance | |
can be referred to without reference to the data (instance variables) contained in it | ||
can be referred to by several different variables at the same time | ||
can represent any entity to which you can associate properties and behaviour | ||
has definition A data element in an object-oriented system, which has its own identity, belongs to a particular class, and has behaviour and properties | ||
has live activation while the object is performing computations in a sequence diagram | ||
has behaviour | ||
has state | ||
has synonym instance: instance is used when you are talking about the role with respect to the class and object is used when talking in a more general way | ||
is distinct from every other object even if they contain the same data | ||
is in a state until an event occurs that causes it to change state | ||
is structured | ||
is a subtopic of 2.1 - What is Object Orientation? | ||
is drawn as a rectangle containing a colon and the underlined name of the class (optional if it is clear from the context), which may be preceded by an optional instance name in a UML instance diagram | ||
is a kind of data item |
Kinds of object :