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 assembly used for?
What is pass by value?
What is string pool?
How do you use compareto in java?
Does constructor creates the object ?
Why method overriding is used?
How can I debug the Java security exceptions and AccessControlExceptions?
How do you include a string in java?
What is the maximum length of a url?
What is quick sort in java?
how to create multithreaded program? Explain different ways of using thread? : Java thread
What do you mean by default constructor in java?
Can classes declared using the abstract keyword cab be instantiated?
What is the purpose of extern variable?
Which is a valid identifier?