Fast Enterprises Interview Question

Explain inheritance.