How to Create A Wapper Class in core Java and Why are Use in
java?
Answer Posted / srikanth
int i=100;
here we are converting primitive to wrapper object
Integer i=new Integer(i);
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
What is the synchronized method modifier?
How do you know if a value is nan?
What does 0 mean in boolean?
Give me an example of array and linked list? Where they can be used?
what are synchronized methods and synchronized statements? : Java thread
What is the maximum size of arraylist in java?
What interface is extended by awt event listeners?
What is difference between synchronize and concurrent collection in java?
What do you understand by classes in java?
Do we need to manually write Copy Constructor?
Is java same as core java?
What is the method to expand and collapse nodes in a jtree?
What is the difference between hashset and treeset in java?
What is class and its types?
What is a function easy definition?