一、类型转化
1.int 转 char,char 转 string
int asb = i+97; //注意是按照ascll码转换
char bb = (char)asb;
String sasb = Character.toString(bb);
2. int 转string ,string 转 char[ ]
int inputday = scan.nextInt();
String year = String.valueOf(inputday);
char[] array = year.toCharArray();
3. char 转 int
int mth = Character.getNumericValue(array[3])*10 + Character.getNumericValue