Question

Which of the following is true about Java's memory management?

A Java relies on the programmer to manage memory manually.
B Java uses automatic memory management through garbage collection.
C Java has no memory management system.
D Java uses a stack-based memory management approach.
Practice Next

Relevant for Exams:

Hey! Ask a query