Infosys interview question

Oops Concept and SQL Joins