// Show Java converts byte to int in expressions public class JavaExprEval { public static void main(String[] arg) { byte b1 = 44, b2 = 22; short s; s = b1; // No error because byte is not converted s = b1+ b2; // Error, because Java converts byte to int before adding } }