Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Fundamental types include the Java primitive types and their corresponding wrapper classes/reference types. Java 5.0 and beyond provide for automatic conversion between these primitive and reference types through autoboxing and unboxing; see the "Autoboxing and Unboxing" section, later in this chapter. Numeric promotion is applied to primitive types where appropriate.