View Questions and Answers by Category
What is the purpose of garbage collection in Java, and when is it used?
I have found a resourceful website for What is the purpose of Garbage collection in Java. so Please visit the link and clear your doubts on Java program.
Visit to http://www.roseindia.net/javatutorials/garbage_collection.shtml