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 |
Read data from console and print in one file. That would be in C:\temp ? Thanks, Bose
3 Answers Oracle, Surya Software,
Can you give few examples of final classes defined in java api?
what is difference between global methods and local methods?
We can write any Java Logics in our JSP. Then why we are using servlets(Controller Layer) to interact with the DAO ?
Can java list be null?
What is a Wrapper class?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
What are the three parts of a lambda expression? What is the type of lambda expression?
What is unicode in java?
whats the purposr of using serialization?
What is difference between iterator and enumeration in java?
Which collection is best for sorting in java?