Shape Shape

Object

Object is an instance of a class that contains data and behavior in object-oriented programming. Used in OOP to model real-world entities and operations.

Example:

A “Car” object in a program has properties like color and methods like drive().

WhatsApp Icon