Functions
November 12, 2023JAVA
November 12, 2023OOPS
Question 14 |
The ‘new’ operator in JAVA
Returns a pointer to a variable
| |
Creates a variable called new | |
Obtains memory for a new variable | |
Tells how much memory is available |
Question 14 Explanation:
“new” operator in java is used to create a new object. And an object is nothing but an instance of a class. Some memory is allocated to each object for its execution. Hence option(C) is the correct answer.
Correct Answer: C
Question 14 Explanation:
“new” operator in java is used to create a new object. And an object is nothing but an instance of a class. Some memory is allocated to each object for its execution. Hence option(C) is the correct answer.
Subscribe
Login
0 Comments