EVO Payments interview question

OOPS concepts