Infosys Interview Question

What’s the difference of class and inheritance?