Question

How is dynamic memory allocated in Java?

A Using the new keyword Correct Answer Incorrect Answer
B Using the malloc function Correct Answer Incorrect Answer
C Using the allocate keyword Correct Answer Incorrect Answer
D Using the create function Correct Answer Incorrect Answer

Solution

Using the new keyword

Practice Next

Relevant for Exams:

×
×