Inheritance Class and interface.

Inheritance and interface class.