Before performing any arithmetic operations of the value of typebyte, short, char are automatically converted to the type int. Therefore, the result of the multiplication will also be of type int and then at compilation time the error of type mismatch will be found of variable byte k it's impossible to assign a value of type int.
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати