As the scanner is given an open object, its the callers responsibility to flush and close (going from memory of the code).
As the scanner is given an open object, its the callers responsibility
to flush and close (going from memory of the code).