O'Reilly logo

OCP Java SE 7 Programmer II Certification Guide: Prepare for the 1ZO-804 exam by Mala Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Java I/O fundamentals

Exam objectives covered in this chapter

What you need to know

[7.1] Read and write data from the console How to access the unique console related to a JVM How to read from and write data to the console
[7.2] Use streams to read from and write to files by using classes in the java.io package including BufferedReader, BufferedWriter, File, FileReader, FileWriter, DataInputStream, DataOutputStream, ObjectOutputStream, ObjectInputStream, and PrintWriter The definitions of byte I/O streams and character streams, and their similarities and differences How to read and write raw bytes, primitive data, strings, and objects to files by using one class or a combination of classes

The Java I/O API ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required