Answer Posted / prabir kumar
1) it is a automatic memory management utility run by JVM.
2) the JVM cleaning the objects from the memory which are
no longer being referenced.
3) the object that is not instantiate or containl null is
also applicable for garbage collection.
3) explicitly running garbage collector is very expensive.
4) to run the garbage collect call the static method of
System class e.g. System.gc();
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is java developer skills?
What is entry in java?
What is private protected in java?
What does pointer mean?
Why java is said to be pass-by-value ?
Tell me a few examples of final classes defined in Java API?
What is a Presistent Object?
What is the meaning of course?
Which graphs are functions?
What is the method in java?
What is equals method in java?
What are the advantages of functions?
What is lazy initialization in java?
What is an off by one error in java?
What is the base class for error and exception?