Visa Inc. Interview Question

inheritance versus interface