What is garbage collection in Java, and how can it be used ?
Answer Posted / sangeetha
when we remove the object that it will be stored particular
memory space these are known as garbage collection.
It is finalize method is used in the garbage collection.
Is This Answer Correct ? | 32 Yes | 20 No |
Post New Answer View All Answers
Can we make the abstract methods static in java?
What does replaceall do in java?
Are static members inherited to sub classes?
What is polymorphism in java? What are the kinds of polymorphism?
What means public static?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Variable of the boolean type is automatically initialized as?
What are meta-annotations?
What do you understand by looping in java? Explain the different types of loops.
how do I create a runnable with inheritance? : Java thread
How can you generate random numbers in java?
What is sizeof in java?
Is singleton class immutable?
How destructors are defined in java?
What is anagram word?