[JAVA] JAVA 형 변환 String to int, int to String 1. String-> int String str = "12345"; int number = Integer.parseInt(str); 2. int -> String int number = 12345; String str= Integer.toString(number); 개발/JAVA 2022.12.29