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
Define iterator and methods in iterator?
How many bits is a double?
What are the three parts of a lambda expression? What is the type of lambda expression?
Which is the best sorting technique in java?
Is there a jre for java 11?
What is bean? Where it can be used?
What are keywords give examples?
Which is better singleton or static class?
How many static init can you have?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What do you understand by weak reference?
What is data type modifier?
What does exclamation mean in java?
Why deletion in linkedlist is fast than arraylist?
What is a variable declaration?