What is meant by wrapper classes?

Answers were Sorted based on User's Feedback



What is meant by wrapper classes?..

Answer / jl

Wrapper classes are used to convert primitive types to objects.

Is This Answer Correct ?    27 Yes 4 No

What is meant by wrapper classes?..

Answer / vishnu

Wrapper class is a wrapper around a primitive data type. It
represents primitive data types in their corresponding class
instances e.g. a boolean data type can be represented as a
Boolean class instance. All of the primitive wrapper classes
in Java are immutable i.e. once assigned a value to a
wrapper class instance cannot be changed further.

Is This Answer Correct ?    12 Yes 0 No

What is meant by wrapper classes?..

Answer / sitaram

Wrapper classes are used to convert primitive types to
objects. wrapper classes are final classes. final classes
can't be extends to other class.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Core Java Interview Questions

Is int primitive data type?

0 Answers  


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

0 Answers   Amdocs,


What is the protected method modifier?

0 Answers  


what is heap memory?

0 Answers   Tavant Technologies, Zensar,


How to calculate the length of a singly linked list in java?

0 Answers  


Does any tag exists in HTML to upload and download files ?

3 Answers  


What is an object's lock and which object's have locks in java programming?

0 Answers  


What is operator overloading. Is it is supported in java?

0 Answers  


How to add and remove nodes in Jtree?

1 Answers  


What is the difference between class & structure?

0 Answers  


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

0 Answers  


What are the concepts of 'OOPS'?

0 Answers   Atos Origin,


Categories