개발/Java String 메소드 정리 ksy0314 2024. 3. 11. 15:34 반복해서 더하고 싶을 때 123String string = "ab";System.out.print(string.repeat(5));// abababababcs