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?


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

Answer / Explanation

Correct Answer is : Option B.


More Questions on Java Programming