Advertisements
Advertisements
प्रश्न
What is the purpose of the new operator?
लघु उत्तर
उत्तर
new is a Java operator for creating an object (instance). It dynamically allocates memory for the object during runtime. It is also used to create arrays.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?