O'Reilly logo

Java Garage by Eben Hewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

G
Garbage Collection

Name for the process by which the Java Virtual Machine frees memory by reclaiming resources that are no longer referenced or accessible by the program. This feature of Java makes it easier to program in than other languages in which the programmer must explicitly free objects. The garbage collector executes on the heap, because that is what object data is stored.

generics

The name given to the collective functionality that allows a programming language to provide generic types and generic methods. In Java, generics are often compared to C++ templates. This comparison is understandable, as templates and generics aim to provide similar kinds of functionality. However, you should probably abandon this comparison readily, as the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required