[JAVA] String <-> int
String -> int String a = "123"; int b = Integer.parseInt(a); int -> String int a = 123; String a = Integer.toString(a); int[] -> String int[] arr = {1,2,3}; String str = Arrays.toString(arr); //출력값 //[1,2,3] int[] arr = {1,2,3}; String str = Arrays.toString(arr).replaceall("^[0-9]",""); //출력값 //1234 [1] https://zetawiki.com/wiki/%EC%9E%90%EB%B0%94_int_%EB%B0%B0%EC%97%B4%EC%9D%84_String%EC%9C%BC%..