Hour 21. Reading and Writing Files


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 live online training, plus books, videos, and digital content from nearly 200 publishers.