Pregunta de entrevista de Capital One

Object oriented design question. Design bank account class.