Describe the java gc, and the algorithm it uses
Sigiloso
The name "garbage collection" implies that objects that are no longer needed by the program are "garbage" and can be thrown away or collected to make the space. In the J2SE platform version 1.4.2 there were four garbage collectors. In which Serial Collector is the default one. In version 5.0 the choice of the collector is based on the class of the machine on which the application is started.