Hi guys, i was wondering since these statement are valid:
is it because the first one unbox a Short wrap object to a short and the second one autoboxes a byte into a byte object?
I mean what seems strange to me is that we're effectively assigning an object to a primitive and a primitive to an object
thanks
is it because the first one unbox a Short wrap object to a short and the second one autoboxes a byte into a byte object?
I mean what seems strange to me is that we're effectively assigning an object to a primitive and a primitive to an object
thanks