हिंदी

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

Advertisements
Advertisements

प्रश्न

Why is a class called an object factory?

संक्षेप में उत्तर

उत्तर

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.02: Elementary Concept of Objects and Classes - Review Insight [पृष्ठ १५]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.02 Elementary Concept of Objects and Classes
Review Insight | Q 5. | पृष्ठ १५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×