You are viewing a single comment's thread. Return to all comments →
hi, how do you terminate taking the input from the console.. It kept asking, i print several runs...how do you exactly make the scan.hasNext() condition false through the console
how are you
it still taking the input and i want to terminate here.
Ctrl-Z works for me.
But there is a bug in Eclipse: you have to switch the view, then go back to the console and then you can enter Ctrl-Z.
read my answer on the top