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
Write a program to search a number in the given list of numbers.
Write a program in java to establish a connection between client and server?
Why do we use variables?
What are the important features of Java 10 release?
How to perform merge sort in java?
What do you mean by Function Overloading in java?
I want to print “hello” even before main is executed. How will you acheive that?
If we don’t want some of the fields not to serialize how to do that?
Can we overload destructor in java?
Is constructor inherited?
How do you sort an array in java?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
Why do we use predicate in java?
What does null mean in java?
What is byte code and why is it important to java’s use for internet programming?