Boxing (computer programming): Difference between revisions

Content deleted Content added
mNo edit summary
top: ce, remove generalize tag; describes several aspects & uses of Boxing.
Line 1:
{{Short description|Programming language concept}}
{{Multiple issues|
{{More citations needed|date=August 2009}}
In [[computer science]], '''boxing''' (a.k.a. wrapping) is the transformation of placing a primitive type within an object so that the value can be used as a [[reference type|reference]]. '''Unboxing''' is the reverse transformation of extracting the primitive value from its wrapper object. '''Autoboxing''' is the term for automatically applying boxing and/or unboxing transformations as needed.
{{Generalize|date=October 2009}}
}}
<!-- only talks of Java; there are complaints on the talk page about this -->
 
In [[computer science]], '''boxing''' (a.k.a. wrapping) is the transformation of placing a primitive type within an object so that the value can be used as a [[reference type|reference]]. '''Unboxing''' is the reverse transformation of extracting the primitive value from its wrapper object. '''Autoboxing''' is the term for automatically applying boxing and/or unboxing transformations as needed.
 
==Boxing==