public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
//int three = 0 ; 我吧这一行注释了。。
int three = one + two ;
//System.out.println(three);
System.out.println(three +"==>30");
System.out.println((three += one) + "==>40");
System.out.println((three -= one) + "==>30");
System.out.println((three *= one) + "==>300");
System.out.println((three /= one) + "==>30");
System.out.println((three %= one) + "==>0");
}
}
确实,不过这就是个演示,无所谓的,懂了就好