What is garbage collection in Java, and how can it be used ?
Answer Posted / ashish
Garbage collection is the Process of automatically freeing
objects that are no longer referenced by the Program.
But a Potential disadvantages of a garbage-collected heap is
that it adds an overhead that can affect program performance....
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
When throws keyword is used?
What do you understand by the term wrapper classes?
What is a newline character in java?
What is a stack class in java ?
Which is better 64 bit or 32 bit?
Can singleton class be inherited in java?
What is a numeric format?
What is the symbol for line break?
Are functions objects in java?
What is predicate in java?
Difference between this() and super() in java ?
How do we access static members in java?
What is use of inner class in java?
What is the static field modifier?
What is wrapper class example?