Computer Science, asked by Anonymous, 6 months ago

what is use of new operator in java.
don't spam please​

Answers

Answered by ansistkharms
3

The new operator is used in Java to create new objects. It can also be used to create an array object. ... Instantiation − The 'new' keyword is used to create the object. Initialization − The 'new' keyword is followed by a call to a constructor. This call initializes the new object.

Answered by prernasingh214
0

Answer

The new operator is used in Java to create new objects. It can also be used to create an array object.

Instantiation − The 'new' keyword is used to create the object. Initialization − The 'new' keyword is followed by a call to a constructor. This call initializes the new object.

Hope it helps you.

Thanks..

Similar questions