이론/자바 이론
자바 객체지향 - 인터페이스 implements
인터페이스추상 메서드의 집합구현된 것이 전혀 없는 설계도이다. 껍데기 (모든 멤버가 public) interface 인터페이스이름 { public static final 타입 상수이름 = 값 ; public abstract 메서드이름 (매개변수목록);} 상수에서의 public staitc final, 메서드의 public abstract 는 생략이 가능하다.interface PlayingCard { // 상수 public static final int SPADE = 4; final int DIAMOND = 3; static int HEART = 2; int CLOVER = 1; // ( public static final ) int CLOVER = 1; // ..