Deloitte Interview Question

they asked about diamond problem in oops