please tell me what is wrapper class in java with example ?

Answer Posted / naresh tuhania

By the help of Wrapper classes we can convert a primitive
type into Object type . These are the static classes and
provides methods for this .

Is This Answer Correct ?    41 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are synchronized methods and synchronized statements? : Java thread

779


Does every java program need a main?

764


How to sort a collection of custom Objects in Java?

828


Explain the difference between abstraction and encapsulation.

740


What is the biggest integer?

808


What is meant by JVM? Is JVM platform independent or not?

832


What are different data types?

770


Can inner class extend any class?

810


What are the restrictions imposed on method overriding?

779


What is the use of flag?

840


Which data type is class in java?

774


What is the difference between access specifiers and access modifiers in java? 16

752


What is a method type?

734


How can we break singleton in java?

726


What is assembly language?

729