English

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

Advertisements
Advertisements

Question

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

Answer in Brief

Solution

  1. A factory uses a blueprint for the article to manufacture duplicates.
  2. Similarly, a class is the blueprint from which individual objects are built.
  3. A class comprises three things: a name, an attribute, and operations.
  4. Each object in a class has the specified characteristics and functions.
  5. Because a class makes objects of the same type, it is known as an object factory.
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.02: Elementary Concept of Objects and Classes - EXERCISES [Page 16]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.02 Elementary Concept of Objects and Classes
EXERCISES | Q III. 4. | Page 16
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×
Our website is made possible by ad-free subscriptions or displaying online advertisements to our visitors.
If you don't like ads you can support us by buying an ad-free subscription or please consider supporting us by disabling your ad blocker. Thank you.