funny Java

Feb. 4th, 2010 11:04 am
juan_gandhi: (Default)
[personal profile] juan_gandhi
byte b = Byte.parseByte("80", 16);

throws an exception "value out of range"

very, very smart...

Date: 2010-02-04 07:12 pm (UTC)
From: [identity profile] nowherenoone.livejournal.com
У меня вчера кинуло, когда я "192" запихнул. И её можно понять.
Но "80"???

Date: 2010-02-04 07:21 pm (UTC)
From: [identity profile] nowherenoone.livejournal.com
Ай, 16 просмотрел :)

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

May 2025

S M T W T F S
    1 2 3
456 7 8 9 10
11 121314151617
181920 21 222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 25th, 2025 02:47 am
Powered by Dreamwidth Studios