weixin_慕数据6599043
2020-05-31 15:15
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");
}
}
确实,不过这就是个演示,无所谓的,懂了就好
Java入门第一季(IDEA工具)升级版
1165172 学习 · 17581 问题
相似问题