慕运维7586783
2018-11-13 22:08
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three = one + two;
System.out.printlh("three = one + two ==>) " + three );
three += one ;
System.out.printlh("three += one ==>" + three );
three -= one ;
System.out.printlh("three -= one ==>" + three );
three *= one ;
System.out.printlh("three *= one ==>" + three );
three /= one ;
System.out.printlh("three /= one ==>" + three );
three %= one ;
System.out.printlh("three %= one ==>" + three );
兄弟你真是个天才,println打成printlh,还有,少了两个结束的}
Java入门第一季(IDEA工具)升级版
1165172 学习 · 17581 问题
相似问题