what is wrapper class and its uses?
Answers were Sorted based on User's Feedback
Answer / vijayakumar chinnasamy
A class enclosed or Wrapped the primitive data type is
called wrapper class.
Number class is the super class for Wrapper class. subclass
of Number classes are Byte,Short,Intger,Long,Float,Double,
Character
primitive values Wrapper class
byte Byte
short Short
int Integer
long Long
float Float
char Character
Mostly the wrapper classes are used to pass the date thru
networks/serializable.
Is This Answer Correct ? | 3 Yes | 2 No |
What is a class component?
What is the purpose of using javap?
Explain creating threads by implementing runnable class?
What is the purpose of garbage collection in java?
What is listnode in java?
Explain difference between final, finally and finalize?
What is 32 bit float?
How many ways can we create the string object?
What is object in java?
What is a class in java?
Is string a class?
what is a static block?