Hands on Testing Java: Lab #10

Prelab Questions

Type in your answers to each of these questions in a file named prelab10.txt in your Prelab Questions directory. Turn in your answers before the beginning of your laboratory session.

Question #1: The size of the chunks of data that an OutputStream writes are ____________ and the size of data for a Writer is ____________.

Question #2: The operation of actually establishing a connection between a program and a file is called ____________ that connection.

Question #3: What method of a BufferedReader can we use to read a line of input?

Question #4: When one is done reading from an input file stream, what operation should be performed on it?

Question #5: How does the Caesar cipher encode a character?