हिंदी

Why do we need a constructor as a class member? - Computer Applications

Advertisements
Advertisements

प्रश्न

Why do we need a constructor as a class member?

लघु उत्तरीय

उत्तर

A constructor is a class member that can be called automatically when generating an object. A call to the constructor is required to complete the creation of an object.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 7: Constructors - EXERCISES [पृष्ठ ४१८]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 7 Constructors
EXERCISES | Q V. 3. | पृष्ठ ४१८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×