孙涛虎
2019-09-10 23:22
int three = one + two;
System.out.println("three = one + two ==>" + three);
int three += one;
System.out.println("three += one ==>" + three);
int three -= one;
System.out.println("three -= one ==>" + three);
int three *= one;
System.out.println("three *= one ==>" + three);
int three /= one;
System.out.println("three /= one ==>" + three);
int three %= one;
System.out.println("three %= one==>" + three);
为什么不要加int。。。。。
three在那之前已经用int定义过了、
Java入门第一季(IDEA工具)升级版
1165171 学习 · 17581 问题
相似问题
回答 2