adspace
What is garbage collection? What is the process that is responsible for doing that in java?
Answer Posted / Sheela Maurya
Garbage Collection (GC) is a process in Java that automatically frees the memory occupied by objects that are no longer being used. The Garbage Collector identifies and reclaims these objects, making them available for future use.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to sort array in descending order in java?
What is a constructor overloading in java?
Is minecraft 1.15 out?
Write a program to find the whether a number is an Armstrong number or not?
Write a program to print count of empty strings in java 8?
What is parsing in java?
What is a classloader in java?
Differentiate between static and non-static methods in java.
What is an object in java and how is it created?
Explain public static void main(string args[]) in java.
What are the differences between heap and stack memory in java?
What is the difference between break and continue statements?
How to create a base64 decoder in java8?
What is java string pool?
explain different ways of using thread? : Java thread