Edifecs Interview Question

Sql Queries and Java oops concept asked to me.