전략 패턴 (Strategy Pattern)
전략 패턴 (Strategy Pattern) 인터페이스란.. 사전적 정의 키보드나 디스플레이 따위처럼 사람과 컴퓨터를 연결하는 장치 컴퓨터 언어에서의 정의 기능에 대한 선언과 구현 분리 기능을 사용하는 통로 A 라는 기능이 있고, 이를 인터페이스를 통해 구현한다고 했을 때, 인터페이스는 아래와 같다. public interface Ainterface { //기능의 선언 public void funcA(); } 구현은 Class에서 A Interface를 implements로 받아서 구현할 수 있다. public class AinterfaceImpl implements Ainterface { @Override public void funcA() { System.out.println("AAA"); } } 델..