2: Chapter 6 Flashcards
File
A collection of information that is stored on a computer and assigned a particular name.
Checked exception
An exception that must be caught or specifically declared in the header of the method that might generate it.
throws clause
A declaration that a method will not attempt to handle a particular type of exception.
Token-based processing
Processing input token by token (i.e. one word at a time or one number at a time).
Input cursor
A pointer to the current position in an input file.
Consuming input
Moving the input cursor forward past some input.
File path
A description of a file’s location on a computer, starting with a drive and including the path from the root directory to the directory where the file is stored.
Current directory (aka working directory)
The directory that Java uses as the default when a program uses a simple file name.
Line-based processing
The practice of processing input line by line (i.e. reading in entire lines of input at a time).
Boilerplate code
Code that tends to be the same from one program to another.