Advertisements
Advertisements
प्रश्न
Keyword that helps in allocating memory to an objects is ______.
विकल्प
private
new
class
public
MCQ
रिक्त स्थान भरें
Advertisements
उत्तर
Keyword that helps in allocating memory to an objects is new.
Explanation:
In Java, the new keyword is an operator that dynamically allocates memory on the heap for a new object or array at runtime.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Class as the Basis of all Computation - Exercises [पृष्ठ ६४]
