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 are nested classes in java?
What is the difference between the file and randomaccessfile classes?
Does java allow default arguments?
What is the this keyword?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
How many types of gc are there in java?
What is called module?
What is the most important feature of java? What is an interface?
What is a dynamic array in java?
What is a pointer and does java support pointers?
How do you check if a number is a perfect square?
What is the benefit of inner / nested classes ?
Is null a string in java?
What is a function in java?
Can I import same package/class twice?