please tell me what is wrapper class in java with example ?
Answer Posted / naresh tuhania
By the help of Wrapper classes we can convert a primitive
type into Object type . These are the static classes and
provides methods for this .
| Is This Answer Correct ? | 41 Yes | 7 No |
Post New Answer View All Answers
Can we use a default constructor of a class even if an explicit constructor is defined?
Explain the difference between call by refrence and call by value?
Can you override private or static method in java?
How do you represent a space in regex java?
How do you empty a list in java?
What is data type in java?
What are the ways in which a thread can enter the waiting state?
Is int a class in java?
Why are lists ordered in java?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
How do constructors use this() and super()?
What is difference between wait and notify in java?
Can you use this() and super() both in a constructor?
What are adapter classes?
What is the difference between dom and sax parser in java?