This interface shows some of the advantages of polymorphism with interfaces. It also shows how to use the API guide to tell which interfaces are implemented by standard library classes, and how to determine the classes implemented by any given interface. One program is written which you can download here
https://faculty.ncssm.edu/~morrison/y...