涅米
2017-02-23 11:15
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);
}
}请问这段代码的问题出在哪里?为什么无法显示答案
这代码没问题,应该是eclipse的运行问题吧
Java入门第一季(IDEA工具)
1168060 学习 · 18753 问题
相似问题