Pregunta de entrevista de Lloyds Banking Group

Java based and output questions