Final answer:
To create a PrintWriter that appends to "message.log", instantiate it with a FileWriter object constructed with the filename and true parameter.
Step-by-step explanation:
To create a PrintWriter object in Java that appends to a file instead of overwriting it, you must use the FileWriter class in conjunction with the PrintWriter, specifying that you want to append to the file. The expression you would write to achieve this would be:
PrintWriter pw = new PrintWriter(new FileWriter("message.log", true));
This creates a PrintWriter object pw that wraps around a FileWriter object. The "true" parameter in the FileWriter constructor indicates that you intend to append data to the file "message.log" rather than starting with an empty file.