Computer Science, asked by Kausikivarma7818, 5 hours ago

Why class is also referred as object factory

Answers

Answered by chakrabartys925
0

Explanation:

A class is called an object factory because objects are created from the class that contains common attributes and behaviour. The class behaves like a specification for creating such similar objects.

Similar questions