慕UI6028893
2017-12-26 14:23
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three = one+two;
three += one;
three -= one;
three *= one;
three /= one;
three %= one;
System.out.println("three = one+two ==>"+three);
System.out.println("three += one ==>"+three);
System.out.println("three -= one ==>"+three);
System.out.println("three *= one ==>"+three);
System.out.println("three /= one ==>"+three);
System.out.println("three %= one ==>"+three);
}
}
为什么等于0 而且还能下一章节
Java入门第一季(IDEA工具)升级版
1165550 学习 · 17586 问题
相似问题