class is an object factor.justify the above statement with an example.
Answers
Answered by
2
A class is a blueprint for an object. Using a class, we can create as many objects as we want as defined in the class. That is why it is called an object factory.
Similar questions