public class Test1 {
public static void main(String[] args){
byte a = 127;
byte b = 127;
a+=b;
System.out.println(a);
System.out.println(b);
}
}
结果:
-2
127
public class Test1 {
public static void main(String[] args){
byte a = 127;
byte b = 127;
a+=b;
System.out.println(a);
System.out.println(b);
}
}
结果:
-2
127