Object-based language in the context of Ada (programming language)


Object-based language in the context of Ada (programming language)

Object-based language Study page number 1 of 1

Play TriviaQuestions Online!

or

Skip to study material about Object-based language in the context of "Ada (programming language)"


⭐ Core Definition: Object-based language

An object-based language is a imperative programming language that provides a construct to encapsulate state and behavior as an object. A language that also supports inheritance or subtyping is classified as object-oriented. Even though object-oriented seems like a superset of object-based, they are used as mutually exclusive alternatives, rather than overlapping. Examples of strictly object-based languages – supporting an object feature but not inheritance or subtyping – are early versions of Ada, Visual Basic 6 (VB6), and Fortran 90.

Some classify prototype-based programming as object-based even though it supports inheritance and subtyping albeit not via a class concept. Instead an object inherits its state and behavior from a template object. A commonly used language with prototype-based programming support is JavaScript.

↓ Menu
HINT:

In this Dossier

Object-based language in the context of Object (computer science)

In software development, an object is an entity semantic that has state, behavior, and identity.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.

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.

View the full Wikipedia page for Object (computer science)
↑ Return to Menu