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 [पृष्ठ ६४]
