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 substring 1 in java?
How to sort double array in java?
How to disable caching on back button of the browser?
What is the method to declare member of a class static?
What is the difference between the paint() and repaint() methods in java programming?
What is the multi-catch block in java?
Why javac is not recognized?
Difference between serialization and deserialization in java?
What is the super void?
Is null a keyword in java?
what is optional in java 8?
What 5 doubled?
Which types of exceptions are caught at compile time?
How do I stop concurrentmodificationexception?
What is a default constraint?