Paycom interview question

Asked to explain polymorphism and inheritance