Pregunta de entrevista de Company.com

Based on java programming language