赋值运算中,为什么不能统一赋值,统一运算呢?
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three=one+two;
three+=one;
three-=one;
three*=one;
three/=one;
three%=one;
System.out.println("three=one+two==>"+three);
System.out.println("three+=one==>"+three);
System.out.println("three-=one==>"+three);
System.out.println("three*=one==>"+three);
System.out.println("three/=one==>"+three);
System.out.println("three%=one==>"+three);
}
}