이벤트 핸들러 메소드1 Anonymous Class (익명 클래스)란? (+ GUI에서의 활용) 상속 개념을 통해 자식 클래스는 인터페이스나 부모 클래스를 구현(or 상속)합니다. 그렇다면 자식클래스는 항상 별도의 클래스로 만들어줘야 할까요? 익명 클래스(Anonymous class)는 이런 궁금증에 대한 답변이 됩니다. Anonymous class는 말그대로 이름 없이 정의된 클래스를 의미하며 선언을 위한 요소와 선언 방법은 다음과 같습니다. The new operator The name of an interface to implement or a class to extend. Parentheses that contain the arguments to a constructor, just like a normal class instance creation expression. Note: When y.. 2021. 5. 22. 이전 1 다음