WellDev interview question

Some inheritance based Problems.