Infosys Interview Question

basic concepts of OOP (Loops, if, data structures, etc)