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


Please Help Members By Posting Answers For Below Questions

What is a default constraint?

611


What is entry in java?

529


what is static import in java? Explain

551


What is flush buffer?

516


What is a ternary operator in java? What is an interface?

548






What is return data type?

555


What is ctrl m character?

510


What is an eror in java?

557


Give example to differentiate between call by value and call by reference.

588


What’s the difference between the methods sleep() and wait()?

540


How do you use parseint in java?

509


Are true and false keywords?

569


What is the difference between error and an exception?

567


When we should use serialization?

564


What is the difference between interface & abstract class?

557