Seeker's eye
Tuesday, 1 January 2008
新年早々...
String s = "3";
int n;
n = Integer.getInterger(s)
が、動かないなぁ。と悩んでました。なんでnull pointer exception?
さっさとマニュアル見ろよ... > 俺 つうか、紛らわしい名前付けるな〜 > Sun
Integer.parseInt(s) が正解...
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment