Advertisements
Advertisements
Question
Differentiate between boxing and unboxing.
Distinguish Between
Solution
- Boxing is the process of changing a primitive datatype into an object of a corresponding wrapper class, whereas
- Unpacking is the process of returning a wrapper class object to its primitive state.
shaalaa.com
Is there an error in this question or solution?