Jump to content

Object-based language

From Wikipedia, the free encyclopedia
Revision as of 23:33, 10 July 2026 by imported>TheNightFly
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description 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.[1] Even though object-oriented programming is a superset of object-based programming, some authors distinguish them by name only when it is useful to point out that a given programming language lacks inheritance.Template:Citation needed Examples of strictly object-based languages Template:Endash supporting an object feature but not inheritance or subtyping Template:Endash are early versions of Ada,[2] CLU, 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.

See also

Template:Columns-list

References

Template:Reflist

Template:Programming paradigms navbox Template:Types of programming languages Template:Authority control

Template:Prog-lang-stub