ExamTiger : Simplified Guide for competitive exams and interviews
Aptitude Tests, Mental Ability, Objective MCQ Sets, Questions and Answers, PDF, Shortcut Tips

Java : Programming Concept Questions & Answers

Question : What is garbage collection in the context of Java?

Java deletes all unused java files on the system.
Memory used by the object with no reference is automatically reclaimed.
The JVM cleans output of Java program with error.
Any unused package in a program automatically gets deleted.

Answer / Explanation

Correct Answer is : Option B.

More Questions on Java Programming