Quiz for java