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

What is the multilevel inheritance. and also give the Example of it ?

5 Answers  


What is java autoboxing?

0 Answers  


What is a data structure java?

0 Answers  


What do you understand by final value?

0 Answers  


Explain the difference between extends thread vs implements runnable in java?

0 Answers  






Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

0 Answers  


can we create instance for interface in java?

4 Answers  


Explain final, finalize() and finally?

11 Answers   Accenture, TCS,


What is contract between hashcode and equal method?

0 Answers  


What is nested loop? What is dangling else condition in it?

0 Answers   Ericsson,


Distinguish method overloading and overriding

2 Answers   Tech Mahindra,


What is difference between c++ and java ?

0 Answers  


Categories