Guide to Java pp 293-310 | Cite as

Elementary File Input and Output

  • James T. Streib
  • Takako Soma
Part of the Undergraduate Topics in Computer Science book series (UTICS)


This chapter discusses elementary file, including how to obtain data from a file and how to save output to a file. It also discusses how the file location is specified. Two complete programs, one performing matrix multiplication using a data stored in a file, and another sorting string data from a file, are included.


Text File Input File Output File File Object Exam Score 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Springer-Verlag London 2014

Authors and Affiliations

  • James T. Streib
    • 1
  • Takako Soma
    • 1
  1. 1.Department of Computer ScienceIllinois CollegeJacksonvilleUSA

Personalised recommendations