What is the importance of the keyword 'new' while creating an object?
Advertisements
प्रश्न
What is the importance of the keyword 'new' while creating an object?
एका वाक्यात उत्तर
Advertisements
उत्तर
'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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
