Object (computer science): Difference between revisions

Content deleted Content added
No edit summary
Use actual, precise meaning from source material
Line 1:
{{Short description|AbstractionSoftware abstraction with well-definedstate, behavior, and behaviouridentity}}
 
In [[computersoftware sciencedevelopment]], an '''object''' is an [[entity]] withthat well-definedhas [[State (computer science)|state]], [[behavior]], and [[Identity (object-oriented programming)|identity]].<ref name="ooa">{{cite book|title=Object-Oriented Analysis and Design with Applications |edition=3 |date=April 30, 2007 |author1=Grady Booch |author2=Robert Maksimchuk |author3=Michael Engle |author4=Bobbi Young |author5=Jim Conallen |author6=Kelli Houston |isbn=020189551X |publisher= Addison-Wesley Professional}}</ref>{{rp|3878}} 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>{{rp|76}}
 
Any [[programming language|language]] that supports a construct with [[State (computer science)|state]], behavior (modified via associated [[procedure]]s), and [[identifier (computer programming)|identity]] is classified as [[object-based language|object-based]]. [[Object-oriented programming]] (OOP) is object-based with the addition of [[polymorphism (computer science)|polymorphism]] and [[inheritance (object-oriented programming)|inheritance]]. An object-oriented system integrates code (behavior) and data (state) into objects. In a [[class-based programming|class-based]] language, an object is an [[Instance (computer science)|instance]] of a [[class (computer science)|class]].