DXC Technology Interview Question

What is inheritance and it's feature