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 is difference between null and void?

744


What is the method to expand and collapse nodes in a jtree?

824


How do you create a first line indent?

751


Can we extend private class in java?

786


explain the difference between jdk and jvm?

769


What are the two categories of data types in the java programming language?

740


What is the difference between iterator and list iterator?

758


Can java arraylist hold different types?

745


What is instanceof keyword?

967


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

784


What is difference between char array and string?

805


What is the current version of java?

783


What are the steps in the jdbc connection?

782


What is variable argument in java?

777


What is the purpose of the system class in java?

787