Introduction
A class lets you create your own type of object with properties and actions. It helps organize code by grouping related things together.
When you want to model real-world things like a Car or a Person in your program.
When you need to group data and functions that work on that data.
When you want to create multiple similar objects with different values.
When you want to keep your code organized and reusable.
When you want to use object-oriented programming features.