+ 3

why James gosling provided wrapper classes already there are primitive data types present??

24th Aug 2016, 4:55 PM
Shubham Burghate
Shubham Burghate - avatar
3 Answers
+ 1
Primitive data types can only store the respective data for which they are defined. In many programs there is need to convert one primitive data type into the other which cannot be done without the help of wrapper classes. These wrapper classes basically make the interconnection of primitive data types very efficient
20th Nov 2016, 3:41 PM
Prarabdh Garg
Prarabdh Garg - avatar
to avoid writing the same errors output again and again
25th Aug 2016, 4:08 AM
Amit Yadav
Amit Yadav - avatar
if u need to convert a variable into object type then it can be useful
25th Aug 2016, 7:53 PM
mayur Gorani
mayur Gorani - avatar