Introduction to Classes
Get familiar with the basic building blocks of Object-Oriented Programming: Classes.
A brief encounter
In the real world, we can find many objects around us like cars, buildings, and humans. All these objects have some state and behavior. If we consider a car, then its states are name, speed, and fuel, and the behavior is refuel, drive, and park.
Access this course and 1400+ top-rated courses and projects.