English

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

Advertisements
Advertisements

Question

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

One Line Answer

Solution

'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
  Is there an error in this question or solution?
Chapter 1.02: Elementary Concept of Objects and Classes - Review Insight [Page 15]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.02 Elementary Concept of Objects and Classes
Review Insight | Q 3. | Page 15
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×