Home / Questions / A class is also referred to as 'Object Factory'. Comment.
Explanatory Question

A class is also referred to as 'Object Factory'. Comment.

👁 91 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

A class has the complete description of the data elements the object will contain, the methods the object can do, the way these data elements and methods can be accessed. A class is used to create similar objects that possess different characteristics and common behaviour. Hence, class is called an object factory.