Workday interview question

what is inheritance in OOP