What is garbage collection in Java, and how can it be used ?
Answer Posted / sangeetha
when we remove the object that it will be stored particular
memory space these are known as garbage collection.
It is finalize method is used in the garbage collection.
Is This Answer Correct ? | 32 Yes | 20 No |
Post New Answer View All Answers
What is the purpose of the enableevents() method?
What is sorting algorithm in java?
Is array size fixed in java?
What is empty list in java?
What is tochararray in java?
What is meant by method overriding?
What is data object example?
What is hash in java?
What is final variable?
What is classname class in java?
What does three dots mean in java?
What is array length?
What is difference between hashset and hashmap in java?
How does remove work in java?
What is keyset in java?