| | |

       Home
       Introduction to Java
       Java Packages
       Classes and Objects
       Java Garbage Collection
       Object Serialization
       Java Collections
       Abstract Class and Interface

 
       Java Exceptions
       Java Swings
       Java Threads
       Java Wrapper Classes
       Java Books
       Feedback

       Java Beginner Tutorials
       Advanced Java Tutorials
       JDBC Tutorials
       Tech Tutorials
 


 
 


 

Java Wrapper Classes

     Java Interview Questions site discussing core java IT technical interview questions in detail. These are some of the java job interview questions me and my friends have faced regularly in campus interviews and off campuses. I have consolidated all of them from different people and communities into a vast resource of core java interview questions all in one place. So I am giving you a chance to prepare well by going through each of the java interview faqs organized by java topics, before attending a technical interview on java.



Java Wrapper Classes Interview Questions

What are Wrapper Classes? Describe the wrapper classes in Java.

Wrapper classes are classes that allow primitive types to be accessed as objects. Wrapper class is wrapper around a primitive data type.

Following table lists the primitive types and the corresponding wrapper classes:

Primitive

Wrapper

  Boolean

  java.lang.Boolean

  Byte

  java.lang.Byte

  Char

  java.lang.Character

  double

  java.lang.Double

  Float

  java.lang.Float

  Int

  java.lang.Integer

  Long

  java.lang.Long

  Short

  java.lang.Short

  Void

  java.lang.Void

 

If you think that an important java interview question is missing or some answers are wrong in the site please contribute it to sriniappl@gmail.com


 

| | |

Java is a trademark of Sun Microsystems, Inc.                                       © Copyright 2007-08 interview-questions-java.com