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 does the append?
What is the benefit of singleton pattern?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
What is style and indentation?
What is the platform?
How do you escape a string?
What was java originally called?
What are variable names?
What is method in java with example?
Can list be null in java?
What is method reference in java?
How you can force the garbage collection?
What is jit compiler in java?
How is a variable stored in memory?
Which keyword specify that a variable is effectively final ?