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

Why strings in java are called as immutable?

785


What do you understand by soft reference?

828


What is JFC?

911


Is null false in java?

955


How to perform quicksort in java?

793


Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?

784


What is the difference between Grid and Gridbaglayout?

810


What is numel matlab?

1022


What about main() method in java ?

778


How do you sing an Applet ?

2251


How can we make a class virtual?

851


What is classname class in java?

769


What is boolean used for?

810


Can we declare a constructor as final?

931


Which class should you use to obtain design information about an object in java programming?

878