What is garbage collection in Java, and how can it be used ?
Answer Posted / nitin kumar
Garbage collection is a system level thread that tracks each
memory allocation. During the idle cycles in the JVM, the
garbage collection thread check for and frees memory that
can be freed. It happen automatically during the lifetime of
a Java Technology program.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is this keyword used for?
Explain jvm, jre, and jdk?
What is ascii format?
Difference difference paint() and paintcomponent()?
How hashmap works in java?
How can we create objects if we make the constructor private ?
Why is the main method declared static?
What are the core java topics?
How do you check if two strings are equal in java?
What is the purpose of the enableevents() method in java programming?
What are the 7 types of characters?
What are the different types of collections in java?
Tell me a few examples of final classes defined in Java API?
What is close method? How it's different from Finalize & Dispose?
What are parsing rules?