Type promotion in java Languages

Type promotion in java

I have a problem with the below Java statements:Why is it mandatory to give parentheses to b * b? (byte) b * b casts the value of the first b to byte (which is redundant since it was already byte), and multiples it by the value of the second b....
Read More