English

Why is a class called an object factory? - Computer Applications

Advertisements
Advertisements

Question

Why is a class called an object factory?

Answer in Brief

Solution

Class is the prototype of an object. Each object belonging to a specific class possesses the data and functions defined within the class. It also produces the objects of similar type. Hence, a class is termed as an object factory.

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.02: Elementary Concept of Objects and Classes - Review Insight [Page 15]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.02 Elementary Concept of Objects and Classes
Review Insight | Q 5. | Page 15
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×