Infosys Interview Question

Basic of oops concept Basic of sql question