Advertisements
Advertisements
प्रश्न
Differentiate between boxing and unboxing.
अंतर स्पष्ट करें
उत्तर
- 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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?