In this chapter, you will learn about interfaces. Interfaces are contracts. These contracts are widely applicable, meaning that many different, unrelated kinds of class can implement an interface. So let's build a hierarchy.






















































In this chapter, you will learn about interfaces. Interfaces are contracts. These contracts are widely applicable, meaning that many different, unrelated kinds of class can implement an interface. So let's build a hierarchy.