用一年半时间做准备
2017-09-20 22:34
求答案
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
System.out.println("three = one + two ==> " + (three = one + two));
System.out.println("three += one ==> " + (three += one));
System.out.println("three -= one ==> " + (three -= one));
System.out.println("three *= one ==> " + (three *= one));
System.out.println("three /= one ==> " + (three /= one));
System.out.println("three %= one ==> " + (three %= one));
}
}
看了一下,就是运算符以及结果的运用,供你参考
Java入门第一季(IDEA工具)升级版
1165172 学习 · 17581 问题
相似问题