java_autoboxing

Table of Contents

Java Autoboxing

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

Java Autoboxing is a feature that automatically converts primitive types into their corresponding wrapper classes, and vice versa. For example, when a Java int is assigned to an Java Integer object, Java Autoboxing automatically wraps the primitive int into an Integer. Introduced in Java 2004 with Java 5, this feature simplifies code by removing the need for manual conversions between primitives and objects.

https://docs.oracle.com/javase/tutorial/java/data/autoboxing.html

“ (JPG4e)

Fair Use Sources

java_autoboxing.txt · Last modified: 2025/02/01 06:49 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki