You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
409 B

public class Jb03_VarDemo2
{
public static void main(String[] args)
{
/*
int x = 1;
x = x + 1;
byte b = 2;
x = x + b; //<2F>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>
b = (byte)(b + 2); //ǿ<><C7BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>
System.out.println(b);
*/
byte b = 1;
byte b1 = 2;
byte b2 = 3;
// b = b1 + b2; b1<62><31>b2<62>DZ<EFBFBD><C7B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޷<EFBFBD><DEB7>жϲ<D0B6><CFB2><EFBFBD>ֵ
int x;
int x1 = Integer.MAX_VALUE;
int x2 = 2;
x = x1 + x2; //int<6E><74>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD>ͣ<EFBFBD><CDA3>Զ<EFBFBD>ǿ<EFBFBD><C7BF>ת<EFBFBD><D7AA>
}
}