Juvare Interview Question

Explain inheritance in object-oriented programming?