How come Java's Byte
is not a subclass of Integer
? Barbara told so? Barbara would be happy to agree that you can pass Byte
as a parameter in any (contravariant) position where an Integer
is accepted. This is true for byte
and int
, so?
I must be missing something obvious and important... am I?