What is a Wrapper class?

Answer Posted / srinivas d

we can't store the different types of objects(primitive
datatypes can not be stored) in the same array(same types
of objects can be stored). so, we can crate a primitive
data type for int i;
as INTEGER i = new INTEGEr();
This is the procedure actually going on.

Is This Answer Correct ?    15 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is void keyword?

658


How to change the priority of thread or how to set priority of thread?

554


Can a static class implement an interface?

537


What is the use of math abs in java?

539


What is the purpose of interface?

569






How many bytes is a char in java?

520


What is the use of pattern in java?

502


When should the method invokelater() be used?

570


Should database connections be singleton?

560


What is the use of :: in java?

559


What does ide stand for?

509


What is the purpose of declaring a variable as final?

477


What is meant by local variable and instance variable?

589


What is the base class for error and exception?

544


Can we override constructor in java?

566