为什么最后是+three啊
为什么最后是+three啊
为什么最后是+three啊
2018-07-15
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three=one+two;
System.out.println(""+three);
three+=one;
System.out.println(""+three);
three-=one;
System.out.println(""+three);
three*=one;
System.out.println(""+three);
three/=one;
System.out.println(""+three);
three%=one;
System.out.println(""+three);
}
}
举报