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
Define Multiprogramming and Multiprocessing in java.
Define an applet in java?
How many types of literals are there in JAVA?
What is static variable with example?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What do you mean by thread safe?
Is 0 true or false in java?
What is the purpose of return statement?
How destructors are defined in java?
What's the base class of all exception classes?
What is the difference between numeric and integer?
What is Enum in Java?
How to check if a list is sorted in java?
Why is it called boolean?
Explain how to convert any java object into byte array.