Skip to main content

Command Palette

Search for a command to run...

09 - Input/Output and NIO.2

I/O in Java: byte and character streams, BufferedReader/Writer, NIO.2 with Path and Files, object serialization and best practices.

Published
1 min readView as Markdown
F
Love coding and AI

I/O in Java: byte and character streams, BufferedReader/Writer, NIO.2 with Path and Files, object serialization and best practices.

What you'll learn

  • Reading Text Files
  • Writing Text Files
  • Byte Streams
  • Path and Paths
  • Files: File Operations

This article is part of the Java series on federicocalo.dev.


Read the full article

The complete article (17 min read) with code examples, diagrams, and practical exercises is available here:

➡️ 09 - Input/Output and NIO.2

https://federicocalo.dev/en/blog/java-input-output-nio


By Federico Calò — Software Developer & Technical Writer