Answer Posted / vijayakumar chinnasamy
Wrapper class : A class to enclosed(wrapped) the primitive
data type.
eg: Integer - it wrapp the int primitive data type.
Character - it wrap the chat data type.
int a=10;
Integer i=new Integer(a);
Java Wrapper class:
Integer,Byte,Short,Character,Boolean,Long,Float,Double.
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
Difference between concurrent hashmap and hashtable and collections
Are strings immutable in java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
What about member inner classes?
What is double checked locking in singleton?
How does queue work in java?
Is static variable stored in heap?
How do you reverse sort in java?
Why strings in java are called as immutable?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What is an abstract class and what is it’s purpose?
What are the pillars of java?
What is t type java?
Is void a return type?
How do you override a method in java?