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
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
How do you use compareto?
What is the java project architecture?
What is difference between checked and unchecked exception in java?
Does hashset allow duplicates in java?
Can extern variables be initialized?
How do you check if a number is a perfect square?
do I need to use synchronized on setvalue(int)? : Java thread
What is the difference between the paint() and repaint() methods in java programming?
How many types of voids are there?
What is a buffer in computer?
what are different ways in which a thread can enter the waiting state? : Java thread
Write a program to print fibonacci series up to count 10.
What is the difference between instanceof and isinstance?
What are methods in java?