哪里错了帮我看下 谢谢

来源:3-3 Java中的赋值运算符

慕运维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 );


写回答 关注

1回答

  • 慕移动0851642
    2018-11-13 22:20:54

    兄弟你真是个天才,println打成printlh,还有,少了两个结束的}

    雀雀you 回复慕移动085...

    我看你对这些关键字的见解很精准到位嘛

    2018-11-19 09:59:37

    共 5 条回复 >

Java入门第一季(IDEA工具)升级版

0基础萌新入门第一课,从Java环境搭建、工具使用、基础语法开始

1165172 学习 · 17581 问题

查看课程

相似问题