java_wrapper_classes

Java Wrapper Classes

Return to Java outline, Java, Java bibliography, Java courses, Java terms, Java topics

Java Wrapper Classes are classes that provide a way to treat primitive data types as objects. Each primitive type in Java has a corresponding wrapper class, such as Java Integer for Java int, Java Double for Java double, and Java Character for Java char. Introduced in Java 2004 with Java 5, Java Wrapper Classes enable autoboxing, which allows automatic conversion between primitive types and their corresponding wrapper classes, simplifying code and improving flexibility in collections.

https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html

“ (JPG4e)

Fair Use Sources

java_wrapper_classes.txt · Last modified: 2025/02/01 06:47 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki