Speaking very in general, if you read from standard-input (System.in) through Scanner, you should have, and use, only 1 Scanner object for this.
Type: Posts; User: andbin
Speaking very in general, if you read from standard-input (System.in) through Scanner, you should have, and use, only 1 Scanner object for this.