【问题标题】:I'm not getting how this output is coming.Can anyone explain me the output of this programme? [duplicate]我不知道这个输出是怎么来的。谁能解释一下这个程序的输出? [复制]
【发布时间】:2018-10-14 00:55:41
【问题描述】:

将 08 放入数组时会显示错误"The literal 08 of type int is out of range"

【问题讨论】:

标签: java


【解决方案1】:

Java 中以0 开头的整数文字被解析为八进制,0-7 是唯一有效的octal digits

【讨论】:

    猜你喜欢
    • 2012-06-21
    • 2017-09-12
    • 1970-01-01
    • 1970-01-01
    • 2021-02-27
    • 1970-01-01
    • 2016-07-30
    • 1970-01-01
    相关资源
    最近更新 更多