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 an outer class cannot be declared as private?

3619


How will you reverse a singly-link list?

599


Can we assign the reference to this variable?

548


What do you understand by casting in java language?

580


Differentiate between stringbuffer and string?

599






Can singleton class be cloned?

563


How do you declare an empty string?

622


Write a code to create a trigger to call a stored procedure

538


How many ways can an argument be passed to a subroutine and explain them?

580


Which is faster string or stringbuilder?

521


What is the difference between delete and delete[]

586


What is t in generics in java?

563


What is meant by tab pans?

650


Explain OOPs concept.

653


Which java version is latest?

537