File Handling - Read and Write

File handling lets a program keep data after it stops running. You will learn how to open a file, read from it, write to it and close it afterwards.

Key terms

File handling
Reading data from and writing data to files so it is stored permanently.
READ
Takes data from a file into the program.
WRITE
Stores data from the program in a file.
Close
Every file must be closed after use.

Part of Programming.