public class MainClass { public static void main(String[] argv) { float x = 123; byte b = 23; float y = x + b;// the compiler converts b to a float before performing the
// addition
b = (byte) y;// converting a float to an 8-bit byte involves potential loss
// of magnitude and precision.