What is garbage collection in Java, and how can it be used ?
Answer Posted / brijesh yadav
Garbage Collection is a form of automatic memory
management. The garbage collector or collector attempts to
reclaim the memory used by objects that will never be
accessed again by the application or mutator.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you understand by java?
What is class??
Explain about abstract classes in java?
Is java developer a good career?
How do you create a first line indent?
Can string be considered as a keyword?
What is instanceof keyword?
What are different type of exceptions in java?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
List implementations of list interface?
How many static init can you have?
What is difference between final and immutable?
What is the function of compareto in java?
What is the use of using enum to declare a constant?
What does exclamation mean in java?