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
If you are given the name of the function at run time how will you invoke the function?
How will you get the platform dependent values like line separator, path separator, etc., ?
What is type conversion in java?
What are the 3 types of loops in java?
whatis Home interface and Remoteinterface? with example?
What is the difference between Java1.4 and Java1.5
Can a main method be overloaded?
Can two objects have same hashcode?
Can you start a thread twice in Java?
Explain about collection interface in java?
What is unicode with example?
What is the difference between length and length () in java?
What is static class
What is visibility mode?
Can private method static?