[LEVEL 1] 20 - Inheritance, Protocol #40
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
close #29
20-Inheritance, Protocol
1. 상속(Inheritance)과 프로토콜(Protocol)의 차이점은 무엇인가요?
상속(Inheritance)
프로토콜(Protocol)
상속과 프로토콜 차이점
상속과 프로토콜의 선택 기준
2. 클래스 상속을 사용할 때의 장단점은 무엇인가요?
클래스 상속의 장점
클래스 상속의 단점
3. 다중 상속(Multiple Inheritance)이 불가능한 이유는 무엇인가요?
4. 프로토콜 준수(Conformance)를 통해 다형성을 구현하는 방법은 무엇인가요?
프로토콜 준수를 통해 다형성을 구현하면 특정 프로토콜을 채택한 객체가 해당 프로토콜에서 정의된 요구 사항을 준수하여, 일관된 방식으로 다양한 객체를 처리할 수 있게 해줍니다. 이를 통해 코드의 유연성과 재사용성을 높일 수 있습니다.
다형성이란?