Global Relay interview question

Whats wrong with this code? Give me specific examples of polymorphism.