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 |
Can a final variable be null?
Does list maintain insertion order java?
Brief the life cycle of an applet.
Can we overload destructor in java?
What is procedure overloading?
If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.
Can a private method be declared as static?
Give the difference between the println method and sqrt method?
What is java oops?
Which method must be implemented by all threads?
What is a get method?
What are the data types supported by java? What is autoboxing and unboxing?