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

How is string stored in java?

563


Is space a string in java?

515


Can inner class be public in java?

553


Why synchronization is important?

589


What is integer parseint?

553






What do you know about the garbage collector in java?

575


What are exceptions

644


What is the use of flag?

583


What are runtime exceptions?

617


Difference between == and .equals() ?

576


What is dynamic binding(late binding)?

590


What is default size of arraylist in java?

559


Where and how can you use a private constructor?

537


How do I get the | symbol on my keyboard?

595


What are the characteristics of Final,Finally and Finalize keywords.

705