What is garbage collection in Java, and how can it be used ?
Answer Posted / sudeep baranwal
Garbage collection is reclaiming the unused memory by the invalid objects.Garbage collection is thread when its work unused memory Created objects from the memory.Garbage collection for responsible this process.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a default constraint?
What is entry in java?
what is static import in java? Explain
What is flush buffer?
What is a ternary operator in java? What is an interface?
What is return data type?
What is ctrl m character?
What is an eror in java?
Give example to differentiate between call by value and call by reference.
What’s the difference between the methods sleep() and wait()?
How do you use parseint in java?
Are true and false keywords?
What is the difference between error and an exception?
When we should use serialization?
What is the difference between interface & abstract class?