MD Interview Question

oops concepts