Infosys Interview Question

oops principles ( basic four pillars of oops)