What is Auto boxing and unboxing?5
1172 5b5cc7cee4d2b41977751113
Q: What is Auto boxing and unboxing?
- Show Answer
- Workspace
- Discuss
Answer :
Explanation :
Autoboxing is the process of converting a primitive type data into its corresponding wrapper class object instance. Example: Integer number = new Integer (100); // number is now refers to the object 100 Unboxing is the process of converting a wrapper instance into a primitive type. Example: Integer number = new Integer (100); int num = number;// without type casting number would be changed into int type
Similar Questions
Since Nithya and Suganya exchange places, so Rita’s new position is the same as Monika’s earlier position. This position is 17th from the right and 10th from the left. Therefore Number of girls in the row = (16 + 1 + 9) = 26.