BNY Interview Question

Explain about inheritance in oops