Fast Enterprises Interview Question

Explain the concept of inheritance