Answer Posted / qamrun nisa
Wrapper classes are used to wrap primitive types (eg: int,
double, etc) in Objects which can be placed into Vectors,
and many, many other uses.
Following table lists the primitive types and the
corresponding wrapper classes:
Primitive Wrapper
Boolean java.lang.Boolean
Byte java.lang.Byte
Char java.lang.Character
double java.lang.Double
Float java.lang.Float
Int java.lang.Integer
Long java.lang.Long
Short java.lang.Short
Void java.lang.Void
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
When should I use stringbuffer?
what are three ways in which a thread can enter the waiting state? : Java thread
Can we overload destructor in java?
Is empty list java?
What are the java ide’s?
Why packages are used?
Why generics are used in java?
Why do we override tostring method in java?
If a class is declared without any access modifiers, where can the class be accessed?
What do you mean by local variable and instance variable?
What does the exclamation mark mean in java?
What does this () mean in java?
What is nullpointerexception?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls