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
What is a programming object?
Can a abstract class be declared final?
Why set do not allow duplicates in java?
Discuss about garbage collector in Java.
Can an object be null?
Explain reverse a linked list recursive java solution?
What is the meaning of variables in research?
What are the basic control structures?
What is variable and rules of variable?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Why are getters and setters used?
When we should use serialization?
What is basic syntax?
How do I know if java is installed?
What is Classloader in Java?