반응형
https://youtu.be/9OwRGx9sE2g?t=1328
강의내용은 위의 url에서 확인하면 된다.
그냥 깔끔하게 정리해서
interface, implements가 새로운 것은 아니고 부모와 자식을 의미하는데,
interface → 부모(parent)
implements → 자식(child)
다만 interface는 빈깡통 의미한다고한다.
(Super나, parent로 선언할때 여러개 값이 막 들어가 있는데, interface는 아무것도 없는 상태)
정확하게 이해를 할 순 없지만 의미만 알아두는 걸로.
반응형
댓글