Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 327 Page Views: 

What is the purpose of garbage collection?



Posted By: Avi Date: 6 November 2010 06:35:55 PM
 Answer:

The purpose of garbage collection is to identify and discard objects that are no longer needed by a program so that their resources may be reclaimed and reused.


Posted By: avibtech


Date: 6 November 2010 06:35:55 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image c7nm5U
Related Questions
Core Java : What is coupling?

What is coupling?

Coupling is the dependency between different components of a system
Category: Core Java Date: 11/8/2010 10:46:51 AM
Core Java : What are the diffrence between order of precedence and associativity?

What are the diffrence between order of precedence and associativity?

Order of precedence determines the order in which operators are evaluated in expressions. Associatit....
Category: Core Java Date: 11/8/2010 8:35:48 AM
Core Java : How can a GUI component handle its own events?

How can a GUI component handle its own events?

A component can handle its own events by implementing the required event-listener interface and addi....
Category: Core Java Date: 11/8/2010 8:23:53 AM
Core Java : What is sandbox?

What is sandbox?

A sandbox is a security mechanism for safely running programs and provides a tightly-controlled set ....
Category: Core Java Date: 11/8/2010 7:18:51 AM
Core Java : Can the dead thread be restart?

Can the dead thread be restart?

No, A dead thread cannot be restarted.
Category: Core Java Date: 11/8/2010 6:46:50 AM