What is garbage collection in Java, and how can it be used ?
Answer Posted / sandeep chaudhary
garbage collection is just a thread that is used for
deallocation of object.object in java are allocated in
heap area(memory ) ,particular object is not used for long
period then automatically garbage coolection calls this
object for destroyed.........
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What is appletviewer?
What are different types of states exist for a thread?
How to create a base64 decoder in java8?
How many types of the indexof method are there for strings?
Explain about fail safe iterators in java?
How does multithreading take place on a computer with a single cpu in java programming?
What does %d do in java?
Which is the best sorting technique in java?
What is difference between an object and a class?
What is * argv?
Is age a discrete variable?
What is this keyword used for?
Tell me a few examples of final classes defined in Java API?
What is JFC?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?