Object (computer science)
Semantic instance with state, behavior, and identity
- 1 min read
- 1 chapters
- 2 labs on Lably
Learn it on Lably
- ObjectsClass 11 · Computer Science
- Elementary Concept of Objects and ClassesClass 9 · Computer Applications
- ObjectsClass 12 · Computer Science
- Introduction to Object Oriented Programming ConceptsClass 9 · Computer Applications
- Class as the Basis of all ComputationClass 10 · Computer Applications
- Introduction to Object Oriented Programming using JavaClass 11 · Computer Science
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:
- Possibly the most common use is in-memory objects in a computer program written in an object-based language.
- Information systems can be modeled with objects representing their components and interfaces.
- In the relational model of database management, aspects such as table and column may act as objects.
- Objects of a distributed computing system tend to be larger grained, longer lasting, and more service-oriented than programming objects.
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.

