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 |
How to do encapsulation in java?
What are packages in java?
Why singleton pattern is better than creating singleton class with static instance?
What restrictions are placed on method overloading?
How do I get the | symbol on my keyboard?
Can I learn java without any programming experience?
Does substring create a new object?
Can you achieve runtime polymorphism by data members?
What is a dynamic array in java?
What defines function?
Are variables stored in ram?
When should the method invokelater() be used?