What is a Wrapper class?

Answer Posted / kanaparthi srinivas

ExAMPLE:

int i=100 // declaration of primitive type.

/* wrapping the primitive data type to corresponding wrapper
class object */

Integer i1=new Integer(i);

Is This Answer Correct ?    31 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does this () mean in constructor chaining concept?

817


What is java util?

794


What do u mean by variable?

795


Can you declare an interface method static?

804


What is the size of integer?

829


What is the final blank variable?

801


How many functional interfaces does java 8 have?

805


What is an example of procedure?

725


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

896


What is class variable java?

783


Explain about transient variables in java?

849


What are 5 boolean operators?

843


What is difference between stringbuffer and string?

725


What is functional interface in java example?

762


What is the purpose of using break in each case of switch statement?

773