juan_gandhi: (Default)
Juan-Carlos Gandhi ([personal profile] juan_gandhi) wrote2010-02-04 11:04 am

funny Java

byte b = Byte.parseByte("80", 16);

throws an exception "value out of range"

very, very smart...

[identity profile] ostapru.livejournal.com 2010-02-05 12:41 am (UTC)(link)
А причем здесь беззнаковые?
80 < 127 ? ;)

[identity profile] dmzlj.livejournal.com 2010-02-05 06:27 am (UTC)(link)
0x80