TCS interview question

Abstraction and inheritance, multi threading,SQL queries