마커 인터페이스

// 마커 인터페이스
public interface MarkerInterface {
}

// 위의 마크 인터페이스를 구현하는 클래스
public class MyClass implements MarkerInterface {
}

마커 애너테이션 vs 마커 인터페이스

언제 사용해야 하는가?