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 is method reference in java 8?
What do you mean by Function Overloading in java?
What is garbage collector?
What is structure of java heap? What is perm gen space in heap?
What is volatile data type?
What is the formula to calculate percentage?
what is ststic with example
What are the types of methods in java?
Can we call the constructor of a class more than once for an object?
what methods would you overwrite in java.lang.object class?
What is the use of predicate in java 8?
When parseint method can be used?
Write a program to check string is palindrome without using loop?
How do you clear an arraylist in java?
What is the file extension for java?