Object (computer science)

In software development, an object is an entity that has state, behavior, and identity.

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.

A language that supports creating an object from a class is classified as class-based.