Answer Posted / 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 |
Post New Answer View All Answers
What are the 3 types of control structures?
What is singleton class and how can we make a class singleton?
What is private public protected in java?
Is it possible to specify multiple jndi names when deploying an ejb?
Can we write class inside a class in java?
Explain the hierarchy of java exception classes?
What is the final access modifier in java?
What are the advantages of functions?
What is an array in java?
What is the tradeoff between using an unordered array versus an ordered array?
When does a class need a virtual destructor?
How do you override a private method in java?
Differentiate between the constructors and methods in java?
Can an interface have a constructor?
What are the differences between stringbuffer and stringbuilder?