Primitive wrapper class in Java: Difference between revisions

Content deleted Content added
No edit summary
https://docs.oracle.com/javase/specs/jls/se10/jls10.pdf
Tag: section blanking
Line 51:
| quote = Immutable arbitrary-precision integers.
}}</ref>
 
==The wrapper class void==
 
The wrapper class named '''void''' is not a primitive wrapper class, specifically because '''void''' is not a primitive data type. However the '''void''' wrapper class can be used to create new objects that have methods that are not expected to return a value.
 
Although it is a wrapper class, the {{Javadoc:SE|java/lang|Void}} class provides an object representation of the [[void type|<code>void</code>]] return.
 
== Atomic wrapper classes ==