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
Write a program to reverse array in place?
Explain about narrowing conversion in java?
Differentiate between array list and vector in java.
Give me some null interfaces in java?
Is it possible for yielded thread to get chance for its execution again ?
What is argument in java?
why Interface used?
How do I get a substring?
How do you identify independent and dependent variables?
What is the purpose of the return statement?
In the below example, what will be the output?
can I implement my own start() method? : Java thread
Write a function to find out longest palindrome in a given string?
Can I declare a class as private?
Does java have extension methods?