问答详情
源自:3-3 Java中的赋值运算符

为什么不能写 int three=one+two

为什么不能写 int three=one+two

提问者:慕设计5267055 2018-11-29 22:59

个回答

  • 慕标6053287
    2019-05-09 18:51:42

    three,one,two是字符串,你前面写int,当然不可以了