Paycom interview question

Just Basic OOPS concepts