Freddie Mac Interview Question

What is Java, and when would you use it?