Infosys interview question

Most based on OOP stuff such as encapsulation, polymorphism, inheritance. And SQL question.