Hour 21. Reading and Writing Files

THIS HOUR’S TO-DO LIST:

Image Read bytes from a file into a program.

Image Create a new file on your computer.

Image Save an array of bytes to a file.

Image Make changes to the data stored in a file.

There are numerous ways to represent data on a computer. You already have worked with one by creating objects. An object includes data in ...

Get Java™ in 24 Hours, Sams Teach Yourself (Covering Java 8), Seventh Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.