> i'm still confused: why doesn't this return an int?
> b=3+4;
The compiler is "smart". It can see thet 3+4 fits into a byte.
This will not work however:
byte b1 = 3;
byte b2 = 4;
byte b3 = b1+b2;
but this will:
final byte b1 = 3;
final byte b2 = 4;
byte b3 = b1+b2;
which is the same as
b=3+4;