What is garbage collection in Java, and how can it be used ?
Answer Posted / veer
When an object has of no use in a program then it has to be
discarded to free the occupied space by it so that other
object can fill the space.That is what Garbaghe collection
is.
| Is This Answer Correct ? | 43 Yes | 13 No |
Post New Answer View All Answers
What is the symbol for space?
What is variable and constant explain with example?
What are the advantages of exception handling?
What is byte code and why is it important to java’s use for internet programming?
How do you break a loop?
Is there any sort function in java?
What is numeric data type?
What is the difference between heap and stack memory?
Is boolean a data type in java?
What are heap memory and stack memory and what are memory tables.
What is module in oop?
How do you reverse a string in java?
What is thread life cycle?
Is it safe to install java on my computer?
What is JVM and is it platform independent?