I have looked all over the internet to try and solve this problem. Can anyone answer this correctly and explain why? Thank you so much!
Look at the following code.
Integer myNumber; myNumber = 5;
Which of the following is true about the second statement?
The statement performs unboxing
The statement performs autowrapping.
The statement performs autoboxing.
It results in an error because you cannot assign a primitive type to a wrapper class object.