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 do you mean by collectors in java 8?
What is the frontend and backedn in Java?
What is hashmap and map?
If try block is successfully executed, Then Is Finally block executed?
Can we use different return types for methods when overridden?
What is the importance of hashcode() and equals() methods?
what is real-time example of runtime polymorphism and compile time polymorphism
I have 2 objects inside one object(vector). how can i serialize one of them. I dont want to serialize the second one
What are facelets templates?
What is instance means in java?
What is :: operator in java 8?
What are legal modifiers that we can use to declare an inner class?