Before JDK 5.0, the conversion between primitive types and their wrapper classes was not automatic. To convert from a primitive type to a wrapper object, add a constructor call.
To convert a wrapper to a primitive type value, add calls to methods intValue, doubleValue, and so on.
|