IDmission interview question

About inheritance abstact class etc