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
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
What is the role of the java.rmi.naming class?
What is one third plus one third as a fraction?
How to create a custom exception?
What is an example of procedure?
Can you use abstract and final both with a method?
What does || mean in vectors?
Is java hard to learn?
What is the use of hashmap in java?
Which package has light weight components?
How does hashset works in java?
What are nested classes in java?
What is the primitive type short?
Can we override singleton class?
what is aggregation in java?