Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Object (computer science)

From Wikipedia, the free encyclopedia
Semantic instance with state, behavior, and identity

Insoftware development, anobject is anentity semantic that hasstate,behavior, andidentity.[1][2][3][4]An object canmodel some part ofreality or can be aninvention of thedesign 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 

Aprogramming language can be classified based on its support for objects. A language that provides an encapsulation construct for state, behavior, and identity is classified asobject-based. If the language also providespolymorphism andinheritance it is classified asobject-oriented.[5][dubiousdiscuss] A language that supports creating an object from aclass is classified asclass-based. A language that supports object creation via a template object is classified asprototype-based.

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

In purely object-oriented programming languages, such asJava andC#, all classes might be part of an inheritance tree such that the root class isObject, meaning all objects instances ofObject or implicitly extendObject.

See also

[edit]

References

[edit]
  1. ^abcGrady 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 fromthe original(PDF) on 2017-08-08.
  6. ^Oppel, Andy (2005).SQL Demystified. McGraw Hill. p. 7.ISBN 0-07-226224-9.

External links

[edit]
Fields
Concepts
Orientations
Models
Developmental
Other
Languages
Related fields
Uninterpreted
Numeric
Reference
Text
Composite
Other
Related
topics
Retrieved from "https://en.wikipedia.org/w/index.php?title=Object_(computer_science)&oldid=1335942387"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp