Skip to main content

Class

Programming

A blueprint for creating objects in OOP.

In object-oriented programming, a class defines the structure (fields) and behavior (methods) shared by a category of objects. Individual objects are instances of a class. Classes support encapsulation, inheritance, and polymorphism.

← Back to full glossary