qq_慕娘8208356
2019-03-20 23:54
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
there=one+two;
System.out.println("there=one+two==>"+there);
there+=one;
System.out.println("there+=one==>"+there);
there-=one;
System.out.println("there-=one==>"+there);
there*=one;
System.out.println("there*=one==>"+there);
there/=one;
System.out.println("there/=one==>"+there);
there%=one;
System.out.println("there%=one==>"+there);
}
}
前面定义的three到后面就写成了there。
three
Java入门第一季(IDEA工具)升级版
1165172 学习 · 17581 问题
相似问题