What is garbage collection in Java, and how can it be used ?
Answer Posted / pranab dutta
When a Java object becomes unreachable to the program, then
it is subjected to garbage collection. The main use of
garbage collection is to identify and discard objects that
are no longer needed by a program so that their resources
can be reclaimed and reused.
Is This Answer Correct ? | 322 Yes | 35 No |
Post New Answer View All Answers
What is main function purpose?
What is meant by design patterns?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
What is the differences between heap and stack memory in java? Explain
How do you use compareto?
What is module in project?
Is java 11 paid version?
What is bytecode in java ?
Difference between start() and run() method of thread class?
Mention some features of java?
how to open and edit XML file in Weblogic???
Is 0 a real number?
Does string isempty check for null?
How do you create a bulleted list?
What is difference between iterator access and index access?