overriding 썸네일형 리스트형 부모 클래스의 private 메소드 overriding 자바에서 부모 클래스의 private 메소드를 overriding(재정의) 할 수 있을까요? 결론 부터 말하자면 안됩니다. 더 정확히 얘기하자면 그런게 없습니다. JLS(Java Language Specification)에 보면 overriding에 대해서 다음과 같이 정의되어 있습니다. 8.4.8.1 Overriding (by Instance Methods) An instance method m1 declared in a class C overrides another instance method, m2, declared in class A iff all of the following are true: 1. C is a subclass of A. 2. The signature of m1 is a subs.. 더보기 이전 1 다음