Content deleted Content added
{{generalize}} |
m Date maintenance tags and general fixes |
||
Line 1:
{{
{{generalize}}<!-- only talks of Java; there are complaints on the talk page about this -->
In [[computer science]], an '''object type''' (a.k.a. wrapping object) is a [[datatype]] which is used in [[object-oriented programming]] to [[wrapper pattern|wrap]] a non-object type to make it look like a [[Reference type|dynamic]] [[object (computer science)|object]].{{
Some [[object-oriented programming language]]s make a distinction between [[Reference type|reference]] and [[value type]]s, often referred to as objects and non-objects on platforms where complex value types don't exist, for reasons such as runtime efficiency and syntax or semantic issues. For example, [[Java (programming language)|Java]] has [[primitive wrapper class]]es corresponding to each [[primitive type]]: <code>Integer</code> and <code>int</code>, <code>Character</code> and <code>char</code>, <code>Float</code> and <code>float</code>, etc. Languages like [[C++]] have little or no notion of reference type; thus, the use of object type is of little interest.
Line 56:
</source>
{{DEFAULTSORT:Object Type (Object-Oriented Programming)}}
[[Category:Data types]]
[[Category:Java programming language]]
|