강의

멘토링

커뮤니티

Inflearn Community Q&A

lsh's profile image
lsh

asked

Data Structure Learning with Java

Abstract classes and interfaces 4

오버라이딩

Written on

·

401

0

만약 Event 클래스의 자식 클래스 중 하나가 CompareTo 함수를 오버라이딩 한다면 동적 바인딩에 의해 오버라이딩한 CompareTo 함수가 호출되는 건가요?

만약 그렇게 된다면 일정한 규칙에 의해 정렬이 아닌 뒤죽박죽 이상한 정렬이 나올 수도 있는거죠?

java

Answer 1

0

호오..

lsh's profile image
lsh

asked

Ask a question