This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
When you hit return either a CR or CR/LF is generated (depending on your OS). System.in.read() reads the next character from the input and you then cast it to an int which will give you the ASCII value of the character. The ASCII value of a CR is 13.