How GC (Garbage Collector) knows the objects reference is
unused.Whether GC removes the unused object Parmanently or
it maintains something.
Answer Posted / balamurugan
it checks whenever we will not used the objects in our
program then jvm checked with forward referenceduse help of
heap memory. then gb removes the un used objects
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you check whether the list is empty or not in java?
What is public/private protected in java?
Can array grow dynamically in java?
When we should use serialization?
what is meant by abstract class?
Explain the meaning of java applet.
Which of the classes will have more memory allocated?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What is math floor in java?
Can final class have constructor?
Can you write a java class that could be used both as an applet as well as an application?
What is an class?
What is null mean in java?
What is collection api?
How to sort array in descending order in java?