0
Why wrapper classes are needed? When do we need to convert variables in object?
While learning Java I learnt about wrapper classes like number class. These classes are needed to convert variables into objects and vise versa. But what I didn't understand was that why and when do we need to convert variables in object?
1 Respuesta
0
One use would be to pass them to JSON files (which are taking objects).