What is garbage collection in Java, and how can it be used ?
Answer Posted / tulsi
Garbage collection means deallocation of variables,which
are of no use(variables that wont be usefull in future).It
is a automatic process that occurs during the execution of
your program. In other lanuages this facility is not
provided, we have to do it mannually where as java provides
this process known as garbage collection.
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
what do you understand by the term string with respect to java?
What is slash r?
What is udp in java?
what do you mean by classloader in java?
Does string isempty check for null?
What is the difference between length and length() method in java?
Explain about the select method with an example?
How we can make copy of a java object?
Is array passed by reference in java?
What is the difference between length and length () in java?
What does java final mean?
Give few examples of final classes defined in Java API?
How we can run a jar file through command prompt in java?
Explain the protected field modifier?
Why generics are used in java?