Infosys interview question

In interview they asked OOPS concepts and some basic sql queries.