What is garbage collection in Java, and how can it be used ?
Answer Posted / veer
When an object has of no use in a program then it has to be
discarded to free the occupied space by it so that other
object can fill the space.That is what Garbaghe collection
is.
| Is This Answer Correct ? | 43 Yes | 13 No |
Post New Answer View All Answers
Define locale.
Is main a function?
What is default exception handling in java?
What is the main functionality of the remote reference layer?
Give us the name of the list layoutmanagers in java?
Explain access specifiers?
How do you check whether the list is empty or not in java?
What invokes a thread's run() method in java programming?
What does substring mean?
How many types of operators are there?
Can we able to pass objects as an arguments in java?
How does multithreading take place on a computer with a single cpu in java programming?
What is the difference between post and put?
Explain the use of volatile field modifier?
What is string made of?