What is garbage collection in Java, and how can it be used ?
Answer Posted / ashish
Garbage collection is the Process of automatically freeing
objects that are no longer referenced by the Program.
But a Potential disadvantages of a garbage-collected heap is
that it adds an overhead that can affect program performance....
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain about serializable interface in java?
What is the difference between access specifiers and access modifiers in java? 16
What value is a variable of the string type automatically initialized?
What is the purpose of assert keyword used in jdk1.4.x?
What is a null class?
What does this () mean in java?
What about instanceof operator in java?
What is the meaning of 3 dots in java?
What are void methods?
How does a for loop work?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
What is the declaration statement?
Can a class extends itself in java?
What is java’s garbage collected heap?
What are static blocks in java ?