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.

Show Answer
Answer = Option B
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x