Paycom interview question

OOP concepts, very easy coding challenges