DXC Technology Interview Question

Describe Inheritance