Capital One Interview Question

Banking system OOP Question.