qq_秦江辉_0
2015-10-28 10:59
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three=one+two;
system.out.println("three =one +two ==>"+three);
three+=one;
system.out.println("three += one ==>"+three);
three-=one;
system.out.println("three -= one ==>"+three);
three*=one;
system.out.println("three *= one ==>"+three);
three/=one;
system.out.println("three /= one ==>"+three);
three%=one;
system.out.println("three %= one ==>"+three);
}
}
System 的首字母用大写
安装个myeclipse 把代码放到里面运行,新手最长见的就是符号用的中文符号! 那里面能看出来的
Java入门第一季(IDEA工具)升级版
1165172 学习 · 17581 问题
相似问题