title: Java: Console output in same line after user inputs and hits 'Enter'
body: <p>I am asking the user to input an integer through a console.
  Is it possible to output in the same line if the user has hit 'Enter' after the input?</p>