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
Why java does not support pointers?
What are java packages?
What are static initalizers in java ?
Explain the difference between jvm and jre?
Are global variables initialized to zero?
What is vector capacity in java?
What is the access scope of a protected method?
What is json parser in java?
Is set thread safe java?
How many types of array are there?
What are the advantages of passing this into a method instead of the current class object itself?
What is the use of inner class?
Is it possible to use string in the switch case?
What is the difference between the font and fontmetrics classes in java programming?
Is class forname reflection?