Primitive wrapper class in Java: Difference between revisions

Content deleted Content added
No edit summary
Line 4:
Wrapper classes are used to represent primitive values when an {{Javadoc:SE|java/lang|Object}} is required. The wrapper classes are used extensively with {{Javadoc:SE|java/util|Collection}} classes in the {{Javadoc:SE|package=java.util|java/util}} package and with the classes in the {{Javadoc:SE|package=java.lang.reflect|java/lang/reflect}} [[Reflection (computer science)|reflection]] package.
 
The primitive wrapper classes and their corresponding primitive types arer:
 
:{| class="wikitable"