Programming

Object-oriented programming

Terms

7 terms

  • Abstraction · programming

    Abstraction in programming exposes only the essential behavior of a component through a simple interface while hiding how that behavior is implemented.

  • Class

    A class in object-oriented programming is a named blueprint that defines the state and behavior shared by every object created from it.

  • Encapsulation

    Encapsulation in object-oriented programming bundles data with the methods that operate on it and hides internal state behind a controlled interface.

  • Inheritance

    Inheritance in object-oriented programming lets a class reuse and extend the fields and methods of a parent class, forming an is-a relationship.

  • Interface

    An interface in object-oriented programming is a named contract of methods that classes implement, letting code depend on behavior rather than concrete types.

  • Object

    An object in object-oriented programming is a runtime unit that bundles state and behavior, created from a class and identified independently of its values.

  • Polymorphism

    Polymorphism in object-oriented programming lets one interface work with objects of different types, each responding to the same call in its own way.