Uses for Text Files

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   go to next page        

Answer:

A text file.

Uses for Text Files

Notepad creates, reads, and writes text files. Most other text editor programs and program editor programs use text files. Compilers (such as javac) expect the source program to be a text file. Many application programs are written to process input data from a text file and to write their output to a text file.

Java programs can be written to deal with any kind of file (since fundamentally all files are the same.) But it is particularly easy to write programs that do input and output with text files.

QUESTION 7:

Have your programs so far been doing input and output of text?