Example & Tutorial understanding programming in easy ways.

Describe the wrapper classes in Java.

rapper class is provides wrapper around a primitive data type so that we can use it as abjects. An instance of a wrapper class contains, or wraps, a primitive value of the corresponding 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

Read More →
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!