Question

When you read from the standard input in Eclipse, where does that input come from?

Was it helpful?

Solution

It's in the same window as the standard console output, but you have to actually type something.

OTHER TIPS

  1. Run your program (right-click project -> 'Run As' -> 'Java Application')

  2. Click in the 'Console' tab field (Window -> Open Perspective -> Console)

  3. Type your input arguments, space-separated, and hit 'Enter'. Each line of your input is delimited with 'Enter'-key presses.

3. is where the inputs come from

If you mean where is the text displayed, the answer is the Console tab. If you do not see this tab upon execution, go to Window -> Open Perspective -> Console.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top