What is garbage collection in Java, and how can it be used ?
Answer Posted / dsr
when ever object scope is over at that the object memory
removed.This is nown as garbageCollection.
Is This Answer Correct ? | 19 Yes | 11 No |
Post New Answer View All Answers
What are variable names?
What is indexof in java?
What’s the difference between unit, integration and functional testing?
What is meant by polymorphism?
Explain how to force the garbage collection in java.
What is used of static keyword in java?
When do we use synchronized methods in java?
What is the difference between access specifiers and access modifiers in java?
Which software is used for java programming?
Why java doesn’t support multiple inheritances?
What is the meaning of find and replace?
Write a program to solve producer consumer problem in java?
What does it mean that a method or field is “static”?
Is Constructor possible in abstract class in java ?
Is oracle java 11 free?