Pregunta de entrevista de Clairvoyant

Logical reasoning. Java OOPS Pattern programming