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
Is string passed by reference in java?
How do I get the | symbol on my keyboard?
Define how can we find the actual size of an object on the heap?
What are some alternatives to inheritance?
What are the differences between path and classpath variables?
Explain about member inner classes?
What is parsing in java?
Differences between traditional programming language and object oriented programming language?
Why unicode is important?
What is arrays fill in java?
What is a percentage sign called?
Is java call by value?
What are different ways of object creation in java ?
Why local variables are stored in stack?
Explain JMS in detail.