Domanda di colloquio di Freddie Mac

What is Java, and when would you use it?