How do you define a class?
In programming, a class is a blueprint for creating objects (instances) that have similar properties and behaviors. It serves as a template or a set of instructions for creating objects of a certain type.
A class in most programming languages typically consists of the following components: