HOUR 20Reading 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 Sams Teach Yourself Java in 24 Hours, Eighth Edition now with the O’Reilly learning platform.

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