大佬来看看,这段java代码错在哪?

大佬看看有什么问题,用int可以,难道toBinaryString不支持long数据类型吗?

Integer的toBinaryString参数是int类型
你要用long的请使用Long类的toBinaryString
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答