use of wrapper classes?

Answer Posted / rakesh kumar mishra

Collection accepts only object not primitive data-type And
server also works on only Objects.
So By help of wrapper class we can convert primitive
data-type to Object.

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of map in java?

742


Is java still necessary?

834


What is anti pattern in programming?

724


What are the types of methodology?

767


Explain the difference between treeset and treemap in java?

748


If we don’t want some of the fields not to serialize how to do that?

785


How are the elements of a gridbaglayout organized in java programming?

733


Can java list be null?

751


what is singleton in java?

797


What are the advantages of packages in java?

904


Why do we need hashmap in java?

761


What is parameter example?

773


What is byte value?

745


What is the buffer limit?

758


which pattern is default in scanner package?

2000