What is garbage collection in Java, and how can it be used ?
Answer Posted / sudeep baranwal
Garbage collection is reclaiming the unused memory by the invalid objects.Garbage collection is thread when its work unused memory Created objects from the memory.Garbage collection for responsible this process.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What is the protected method modifier?
Can we have 2 main methods in java class?
Does string isempty check for null?
What is comparable and comparator interface? List their differences
What does yield method of the thread class do?
explain different ways of using thread? : Java thread
What is a prefix function.write down a code to compute prefix function.
How does hashset works in java?
What is lazy initialization in java?
What is casting in java programming?
What is meant by class and object in java?
Can I uninstall java?
What are the types of java languages?
What is the full form of jpeg?