Answer
A Class defines the properties and behaviors for objects.
Work Step by Step
Objects are created from classes. This section shows you how to define custom classes.
Object-oriented programming (OOP) involves the use of objects to create programs. An object represents an entity in the real world that can be distinctly identified.
For example, a student, a desk, a circle, a button, and even a loan can all be viewed as objects. An object has a unique identity, state, and behavior.