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
When do we use synchronized methods in java?
How to stop a thread in java? Explain about sleep () method in a thread?
Difference between final and effectively final ?
What are the elements of java?
What is a Presistent Object?
What are the steps involved to create a bean?
What does it mean that a method or field is “static”?
What is a condition in java?
What do you understand by the bean persistent property?
How do you stop a thread in java?
What is scanner in java?
What is another word for methodology?
Why is multiple inheritance not supported in java?
What is string value?
Does variable declaration allocate memory?