Respuesta :

We are being asked to declare a variable, thus, we can use "PrintWriter" that is suitable for referring to an object that provides methods for writing to a text file.

On how to use it, we can define it such as
Output.printIn ="hi";
output.close;

ACCESS MORE