Abstract
In this chapter, we’ll introduce you to the fundamentals of Java I/O programming. We’ll cover two topics: how to read and write data from console, and then how to use (file) streams to read and write data.
Programming with I/O involves writing some exception-handling code as well. If you’re not familiar with the basics of exception handling, such as how to use try-catch-finally blocks or try-with-resources statements, we recommend that you to read the first three sections in the chapter on exception handling and assertions (Chapter 11) and then return to this chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 S G Ganesh
About this chapter
Cite this chapter
Ganesh, S.G., Sharma, T. (2013). Java I/O Fundamentals. In: Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4765-4_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4765-4_8
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4764-7
Online ISBN: 978-1-4302-4765-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)