हिंदी

It can be called an object factory:

Advertisements
Advertisements

प्रश्न

It can be called an object factory:

विकल्प

  • Method

  • Constructor

  • Data

  • Class

MCQ
Advertisements

उत्तर

Class

Explanation:

 A class is called an object factory because it is used to create objects. It acts as a blueprint or template that defines the data (attributes) and methods (functions) that objects will have.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Class as the Basis of all Computation - Exercises [पृष्ठ ६४]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 2 Class as the Basis of all Computation
Exercises | Q 1. (ii) | पृष्ठ ६४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×