💡정적 팩토리 메서드 (Static Factory Method)new 키워드로 생성자를 직접 호출하지 않고 Static Method를 사용해 간접적으로 생성자를 호출해 객체를 생성하는 방식 public class Sfm { private int num; private String str; // 생성자를 private으로 선언해 외부에서 호출X private Sfm(int num, String str) { this.num = num; this.str = str; } // 정적 팩토리 메서드, private으로 선언된 생성자를 호출해 인스턴스 생성 public static Sfm create(int num, String str) { ..