This illustration shows an example inheritance hierarchy made up of interface Client implemented by classes Person and Company. The Person class is extended by the Student class. The Client interface specifies a getId method (returning long). The Person and Company class implement the getId method. The Student class adds a studentId field of type String.