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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.