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 the purpose of lambda expressions?
What is the difference between Grid and Gridbaglayout?
Differentiate between == and equals().
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
What package is math in java?
What is boolean used for?
Define a java class.
Can list be final in java?
What is the base class of all exception classes in java?
What is jvm? How its run?
What are controls and their different types in awt?
What is a substring of a string?
Differece between class and generic class?
Does A Class Inherit The Constructors Of Its Superclass?
Why enumeration is faster than iterator?