|
|
back to boardHow do we know when the input finishes ? Hi, When we read the input from stdin/stdout, when do we stop reading the input ? Thanks Re: How do we know when the input finishes ? Read "Frequently asked questions" Re: How do we know when the input finishes ? Posted by wakeme 18 Apr 2009 07:51 Scanner a=new Scanner(System.in); a.hasNextInt(); |
|
|