हिंदी

What is the importance of the keyword 'new' while creating an object? - Computer Applications

Advertisements
Advertisements

प्रश्न

What is the importance of the keyword 'new' while creating an object? 

एक पंक्ति में उत्तर

उत्तर

'New' is used for dynamic allocation of the object, i.e., it allots space in the dynamic memory for storage of an object. 

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 3. | पृष्ठ १५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×