Infosys interview question

Oops concepts, design patterns, SQL queries