Computer Science, asked by adarshmauryajay, 8 months ago

What is the significance of using the word 'new' while creating an object. *​

Answers

Answered by mahirraj2012
1

here's your answer..

The Java new keyword is used to create an instance of the class. In other words, it instantiates a class by allocating memory for a new object and returning a reference to that memory. We can also use the new keyword to create the array object.

marks as brainliest answer please..

Similar questions