What is the function of the operator new? Give an example
anushkakonchada7:
mere se chote ho
Answers
Answered by
0
Explanation:
Answer. Answer: The 'new' operator in java is responsible for the creation of new object or we can say instance of a class. Actually, it dynamically allocates memory in the heap with the reference we define pointed from the stack
Answered by
2
Answer:
the new operator in java is responsible the creation of new object aur we can instance of a class
Similar questions
Hindi,
2 months ago
English,
2 months ago
Accountancy,
2 months ago
Social Sciences,
4 months ago
Science,
10 months ago
Science,
10 months ago