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 are keywords in java?

0 Answers  


Does garbage collection occur in permanent generation space in jvm?

0 Answers  


In which way does a Primitive data type is passed ?

5 Answers   Sun Microsystems,


Can we have two main methods in a java class?

0 Answers  


What are peerless components in java programming?

0 Answers  






Hi friends, i am new to java. can you explain how java is secured.

2 Answers  


What is the use of arrays tostring () in java?

0 Answers  


Can you explain the difference b/n abtract and interface with a good example,?In what cases we have use abtract and what case interface?

4 Answers   Satyam,


Can we overload destructor in java?

0 Answers  


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

0 Answers  


What are the different types of collections in java?

0 Answers  


Difference between Application and Applet ?

4 Answers   Wipro,


Categories