整数转字符串: 1.使用字符串连接符 + 2.String.valueOf(num) 3.Integer.toString(num)
字符串转整数: 1.Integer.parseInt(str) 2.Integer.valueOf(str)