+ 3
why James gosling provided wrapper classes already there are primitive data types present??
3 odpowiedzi
+ 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
0
to avoid writing the same errors output again and again
0
if u need to convert a variable into object type then it can be useful