When you assign a numeric literal (it does not matter whether it is hexadecimal or decimal) to a type variable byte, the compiler checks that the value matches the value byte. As soon as the compiler knows that the value is suitable, it processes the literal as if it had a type bytecorresponding to the type of the variable.
, , , . , . , int byte. , .