정보처리기사
-
[정보처리기사] 1과목자격증 2022. 3. 2. 17:23
1. GoF(Gangs fo Four) 디자인 패턴 생성 구조 행동 클래스 factory method adapter interpreter template method 객체 abstract factory builder prototype singleton adapter bridge decorator facade flyweight proxy chain of responsibility command iterator mediator memento observer state strategy visitor 1) factory method(생성) -> 상위클래스에서 객체를 생성하는 인터페이스를 정의하고, 하위클래스에서 인스턴스를 생성하도록 하는 방식 2) prototype(생성) -> prototype을 먼저 생성하고..