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 ...

Get Java Garage now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.