title: Is there any equivalent of getch() from C++ in Java?
body: <p>Is there any equivalent to C++’s <code>getch()</code> in Java? That is a function that moves the control forward as soon as a keyboard key is pressed, and also stores the character pressed.</p>
  
  <p>I would like to use that function in a console app.</p>