DXC Technology interview question

Describe inheritance