The most commonly used pre-defined object type is String. Primitive types have corresponding "wrapper" class whose objects are immutable (values can not be changed).
Autoboxing. Conversion between the primitive and the wrapper classes is largely automatic as of Java 5.
No comments:
Post a Comment