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 an eror in java?
What is yield () in java?
What is the difference between compare and compareto in java?
Write a program to print all permutations of string?
What is the difference between Java1.4 and Java1.5
Is char a data type in java?
What is the right data type to represent a price in java?
What is functional interface in javatpoint?
What is the difference between static and non-static variables in java programming?
What is static block?
Define jre i.e. Java runtime environment?
How many types of memory areas are allocated by jvm?
How can you read content from file in java?
Are global variables initialized to zero?
How can an object be unreferenced?