Superclass/Subclass: Just like any other superclass-subclass relationship, there will be an inheritance connection between Classes D and A.
Inheritance:Inheritance allows properties and behaviors defined in the superclass (Class D) to be passed down to its subclasses (like Class A).
Polymorphism:Polymorphism enables objects of different subclasses (including Class A) to be treated as objects of their shared superclass.