Problem Statement
What is the relationship between a class and an object?
Explanation
A class acts as a blueprint that defines structure and behavior, while an object is a concrete instance created from that blueprint. You can create multiple objects from a single class.
Code Solution
SolutionRead Only
class Car { }
Car c1 = new Car();