Infosys Interview Question

state sql queries difference between inheritance and polymorphism difference between class and object in c++