Which of the following statements about using the PrintWriter object is correct? If the output file does not exist, a FileNotFoundException will occur. If the output file already exists, the new data will be appended to the end of the file. If the output file does not exist, an IllegalArgumentException will occur. If the output file already exists, the existing data will be discarded before new data are written into the file.

Solved
Show answers

Ask an AI advisor a question