Home »
MCQs »
Java MCQs
What is garbage collection in java?
27. What is garbage collection in java?
- Method to manage memory in java
- Create new garbage values
- Delete all values
- All of these
Answer: A) Method to manage memory in java
Explanation:
Garbage collection in Java is the process by which Java programs perform automatic memory management.