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 you program for reverse string?
What is == in java?
Difference between interface and abstract class with ex.
4 Answers Cognizant, Tech Mahindra,
Using callable statement how can you pass out parameters, explain with example?
Can private class be extended java?
Implementations of set interface?
What does serializing data mean?
what is the main class of all the classes
What is a substring of a string?
How do you use compareto in java?
perpare on factorypattern,linklist wothout using collection, (multitharding ie create producer/customer therad producer create Queue continuesly,consumer consume queue, consumer wait if queue is full,producer wait if queue is empty),diff betn sleep(1000)&wait(1000) these r the main Q ask in huawei(2008)
What is the method to expand and collapse nodes in a jtree?