Infosys Interview Question

OOPS based, project related, two programming questions