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 is meant by interface?
Why does my function print none?
Difference between this() and super() ?
How many types of parsers are there?
Write a program to reverse a number in java?
State the difference between strings and arrays.
Explain the difference between throw and throws in java?
What is a char in java?
Why we use set in java?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
Why is the main method declared static?
How to make a read-only class in java?
How do you find the maximum number from an array without comparing and sorting?
What does this () mean in constructor chaining concept?
What is the difference between reader/writer and inputstream/output stream?