Pregunta de entrevista de Barclays

Object oriented programming questions and probability