हिंदी

State two features of a constructor. - Computer Applications

Advertisements
Advertisements

प्रश्न

State two features of a constructor.

लघु उत्तरीय

उत्तर

  1. A constructor has the same name as the class name.
  2. A constructor is used for initializing the data members. 
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 7: Constructors - Review Insight [पृष्ठ ४१५]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 7 Constructors
Review Insight | Q 5. | पृष्ठ ४१५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×