Object (computer science)

Revision as of 20:58, 30 April 2025 by imported>Fgnievinski (→‎See also)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description

In software development, an object is an entity that has state, behavior, and identity.<ref name="ooa">Template:Cite book</ref>Template:Rp An object can model some part of reality or can be an invention of the design process whose collaborations with other such objects serve as the mechanisms that provide some higher-level behavior. Put another way, an object represents an individual, identifiable item, unit, or entity, either real or abstract, with a well-defined role in the problem domain.<ref name="ooa"></ref>Template:Rp

A programming language can be classified based on its support for objects. A language that provides an encapsulation construct for state, behavior, and identity is classified as object-based. If the language also provides polymorphism and inheritance it is classified as object-oriented. A language that supports creating an object from a class is classified as class-based. A language that supports object creation via a template object is classified as prototype-based.

The concept of object is used in many different software contexts, including:

See alsoEdit

ReferencesEdit

Template:Reflist

External linksEdit

Template:Software engineering Template:Data types Template:Authority control