Workday Interview Question

what is inheritance in OOP