English

What is the purpose of the new operator? - Computer Applications

Advertisements
Advertisements

Question

What is the purpose of the new operator?

Short Answer

Solution

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
  Is there an error in this question or solution?
Chapter 6: Class as the Basis of all Computation (Objects and Classes) - EXERCISES [Page 383]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 6 Class as the Basis of all Computation (Objects and Classes)
EXERCISES | Q IV. 3. | Page 383
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×