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
What is method overloading in JAVA? Why is it not present in C ?
Can I overload to string method
What is the difference between method and means?
What is the difference between yielding and sleeping in java programming?
What is a constructor overloading in java?
What is an object in java and how is it created?
Explain about automatic type conversion in java?
Which list is sorted in java?
Explain the selection sort algorithm?
What are the four integer types supported by java?
What is tostring () method?
What is the length of a string?
What does compareto () do in java?
Define canvas?
Explain java coding standards for variables ?