Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Wrapper Class

sushant_singh
Participant
0 Likes
1,470

Hi all,

I just want to know what exactly wrapper class is ?

I know that for creating custom controls , we need them, but why are they called wrapper class?

Regards,

Sushant Singh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,019

A class which will act as a primitive(predefined) data type.

ex: An Itezer cant have a method(Like a class can have a method) so we can creae a wrapper calss for intezer which will conatain only an intezer.

<b><u>Please Reward if useful</u></b>

Sudheer

3 REPLIES 3
Read only

sushant_singh
Participant
0 Likes
1,019

I just want to know the meaning/definition of a wrapper class.

and how is it different from other classes that we create in class builder?

Read only

Former Member
0 Likes
1,019

Hi,

I know i java context that, Wrapper classes are used to represent primitive values when an Object is required. for ex. to create a object for a primitive class int there is corresponding Wrapper class Integer is available.

Thanks

Sandeep

Reward if helpful

Read only

Former Member
0 Likes
1,020

A class which will act as a primitive(predefined) data type.

ex: An Itezer cant have a method(Like a class can have a method) so we can creae a wrapper calss for intezer which will conatain only an intezer.

<b><u>Please Reward if useful</u></b>

Sudheer