community
directory
books
authors
images
encyclopedia

Email:
Password:
Register

Knowledgerush Search

 

Google
  Web knowledgerush


Search for images of Autoboxing


Message boards   Post comment

Autoboxing

In computer science, an object type (a.k.a. wrapping object) is an datatype that is used in object-oriented programming to wrap non-object type to make it look like an object.

Some object-oriented programming language make an distinction betweeen objects an non-objects, often referred to as primitive types for reasons such as runtime efficiency and syntax or semantic issues. For example, Java has object types corresponding to each primitive types. Such are Integer and Character. In languages like C++ that make little or no distinction between objects and non-objects, the use of object type is of little interest.

Boxing is a way to wrap objects with primitive types over object types so that those can be used like objects. Examples are Integer class for integer type in Java. Some languages require programmers to do boxing manually, while some support autoboxing/unboxing.

 

Compose Your Message

Your Email Address or Pen Name (optional):
Subject:
Your Message:
 

 

 

 

 

 

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Autoboxing".

 

Contact UsPrivacy Statement & Terms of Use

 
Copyright © 1999-2003 Knowledgerush.com. All rights reserved.