|
Java™ by example!
|
|
|
What is autoboxing?
Autoboxing is the automatic conversion between primitive types and reference types. It eliminates the need to explicitely create wrapper objects for primitive types.
Main.java:
This means that you don't need to create wrapper objects anymore to use primitives in collection classes. Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|