Wipro Interview Question

what is inheritance?