Qualcomm Interview Question

what is inheritance?