Morgan Stanley Interview Question

inheritance & abstract class