📌 Java String 클래스 가이드String 클래스는 불변(immutable) 객체로, 문자열을 조작할 수 있는 다양한 메서드를 제공합니다.여기서는 substring()과 replace()를 중심으로, 자주 사용되는 다른 메서드도 함께 살펴보겠습니다.1️⃣ substring(int beginIndex, int endIndex)특정 부분 문자열을 추출하는 메서드입니다.beginIndex에서 시작하여 endIndex 앞까지 문자열을 가져옵니다.✅ 사용 예시public class Main { public static void main(String[] args) { String str = "Hello, World!"; // 부분 문자열 추출 System.out...