Java基础赋值符号
赋值操作
class SetValueTest { public static void main(String[] args) { //赋值符号:= int i1 = 10; int j1 = 10; int i2,j2; //连续赋值 i2 = j2 = 10; int i3 = 10 ,j3= 20; } }
赋值操作
class SetValueTest { public static void main(String[] args) { //赋值符号:= int i1 = 10; int j1 = 10; int i2,j2; //连续赋值 i2 = j2 = 10; int i3 = 10 ,j3= 20; } }