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

How can we run a java program without making any object?

545


What are the two ways of implementing multi-threading in java?

816


What is static class

620


What is anagram number?

458


What is the difference between a loader and a compiler?

526






How listener identify that the event came from a particular object?

1471


Why do we need singleton class?

549


Which object oriented concept is achieved by using overloading and overriding?

557


Can a method inside a interface be declared as final?

529


What is the difference between length and length () in java?

527


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

523


What is use of static method?

536


How to declare objects of a class ?

589


What is overriding in java?

522


What is ‘has a’’ relationship in java?

725