📑 Table of Contents

In computer programming, an object is a semantic entity that has state, behavior, and identity.[1][2][3][4] 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.[1]: 76 

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.[5][dubiousdiscuss] 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:

In purely object-oriented programming languages, such as Java and C#, all classes might be part of an inheritance tree such that the root class is Object, meaning all objects instances of Object or implicitly extend Object.

See also

edit

References

edit
  1. ^ a b c Grady Booch; Robert Maksimchuk; Michael Engle; Bobbi Young; Jim Conallen; Kelli Houston (April 30, 2007). Object-Oriented Analysis and Design with Applications (3 ed.). Addison-Wesley Professional. ISBN 978-0201895513.
  2. ^ Adolfo M. Nemirovsky. "Is Schrödinger's Cat Object-Oriented?" (PDF). www.literateprogramming.com.
  3. ^ "Distributed Object-Based Programming Systems". dl.acm.org.
  4. ^ "Dimensions of Object-Based Language Design". dl.acm.org.
  5. ^ "A Brief History of the Object-Oriented Approach" (PDF). Archived from the original (PDF) on 2017-08-08.
  6. ^ Oppel, Andy (2005). SQL Demystified. McGraw Hill. p. 7. ISBN 0-07-226224-9.
edit

📚 Artikel Terkait di Wikipedia

Schizophrenia (object-oriented programming)

Object schizophrenia or self schizophrenia is a complication arising from delegation and related techniques in object-oriented programming, where self/this

Object identity

Object identity may refer to: Identity (object-oriented programming) Congruence (geometry) This disambiguation page lists articles associated with the

Object copying

In object-oriented programming, object copying is creating a copy of an existing object, a unit of data in object-oriented programming. The resulting

Identity

an external agent Identity (object-oriented programming), the property of objects that distinguishes them from other objects Identity document, or ID Wikiquote

Comparison of programming languages (object-oriented programming)

This comparison of programming languages compares how object-oriented programming languages such as C++, Java, Smalltalk, Object Pascal, Perl, Python

Object REXX

Object REXX is a high-level, general-purpose, interpreted, object-oriented (class-based) programming language. Today it is generally referred to as ooRexx

Polymorphism (programming language theory)

operation to be performed on values of more than one type. In object-oriented programming, polymorphism is the provision of one interface to entities of

Object–relational impedance mismatch

dedicated database, while object-oriented (OO) programming is the default method for business-centric design in programming languages. The problem lies