public class yunsuan { public static void main(String[] args) { int a = 10; double b = 10.3; System.out.println(a+b); //隐式转换 byte c = 30; byte d = 100; System.out.println((byte)(c+d)); //因为byte没这么大 所以会出现错误 } }