Domanda di colloquio di Capital Trust

Basic Oops question and some question about data structures