matt love wrote:If Number is an abstract class, why does the following print the affirmative?
Because an object IS-AN instance of every one of its superclasses and of every interface that it implements and that its superclasses implement.
Is the int being boxed to an Integer?
Yup. If it weren't being boxed to
something, you'd get a compile-time error on the
n = assignment. And what else would it be boxed to if not an Integer?