NTT DATA Interview Question

What is inheritance