Google News
logo
Java - Interview Questions
Why do we need wrapper classes?
1. They convert primitive datatypes to objects and this id needed on internet to communicate between two applications.
2. The classes in java.util package handle only objects and hence wrapper classes help in this case also.
Advertisement