1-1-4-13 valueOf?
发信人: Yapith (早起的鸟儿有食吃), 信区: Java标题: Re: valueOf?
发信站: BBS 水木清华站 (Mon Aug 30 10:01:29 1999)
【 在 littlepine (小树) 的大作中提到: 】
: Integer i = Integer valueOf("12", 4); // i = 6
^^^^^^^^^^^^^^^^^^^^^^^^
返回一个值为4进制的12的Integer对象。当然是6.
:
: 谁能告诉为什么i = 6? 是怎么运算的?
页:
[1]