Pregunta de entrevista de Freddie Mac

What is Java, and when would you use it?