You’ll learn how to use interfaces with the help of an example in this lesson.

We'll cover the following

How to use interfaces

interface is a commonly used feature. There is one or more interface at the top of almost every class hierarchy. A kind of hierarchy that is commonly encountered in programs involves a single interface and a number of classes that implement that interface:

Get hands-on with 1200+ tech skills courses.