章 4 · 25 問

インターフェース

abstract クラスと interface の使い分け、implements、多態性の活かし方。 「具体クラスではなく interface に依存して書く」設計の基本がここ。