Skip to content

[Effective Java] Item 20. 단순 구현(simple implementation) #11

@kjsu0209

Description

@kjsu0209

135p에서 AbstactMap.SimpleEntry가 인터페이스를 구현한 골격 구현(단순 구현)이지만 추상 클래스가 아니라고 합니다.
그러면 단순 구현은 일반 클래스로 인터페이스를 구현하는 걸 말하나요? 아니면 인터페이스에서 디폴트 메서드만으로도 구현이 가능할 때 단순 구현이라고 하나요?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions