Object-Oriented Programming
OOP focuses on modeling entities as objects.
Each object bundles together data (properties) and actions (methods) related to that entity.
Classes act as blueprints for creating objects.
They define the structure (properties and methods) that objects will have. Think of classes as templates or boilerplates.
Objects created from classes are called instances.
They inherit the properties and methods defined in the class blueprint.
OOP revolves around creating objects to represent real-world entities, using classes as templates for those objects.
Below is the list of concepts of object oriented programming:
Last updated