整數、字符、字符串之間的轉換

Int與String        1.整數轉字符串字符串            String s = String.valueOf( int); 字符            String s = Integer.toString(i);            String s = "" + i;         2.字符串轉整數             int i = Integer.parse
相關文章
相關標籤/搜索