A class is a group of objects that share common properties and behavior. For example, we can consider a car as a class that has characteristics like steering wheels, seats, brakes, etc. And its behavior is mobility. But we can say Honda City having a reg. number 4654 is an 'object' that belongs to the class 'car'.
Answers & Comments
Verified answer
✨CLASS ✨
A class is a group of objects that share common properties and behavior. For example, we can consider a car as a class that has characteristics like steering wheels, seats, brakes, etc. And its behavior is mobility. But we can say Honda City having a reg. number 4654 is an 'object' that belongs to the class 'car'.
Answer:
A set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.