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 the functionality of the stub?
What are the two types of java programming?
Difference between overriding and overloading in java?
what is the purpose of "virtual"?
Write a program to reverse a number in java?
Can we restart a thread already started in java?
Why do we need strings in java?
Can you inherit from an abstract class java?
How do you access command-line arguments within the code?
What are the different types of inheritance in java?
What is += mean in java?
What is data structure in java?
What is thread count in java?
What is a generic type?
What is Gang of four design patterns