DXC Technology interview question

Describe Inheritance