Given an initialized String variable message, and given a PrintWriter reference variable named output that references a PrintWriter object, write a statement that writes the string referenced by message to the file in to which output streams.
The output streams to this question is "output.print(message)".
Explanation:
The description of the following can be given as:
In the given question it is define a string datatype variable that is "message".
Then we create a reference variable of PrintWriter class that is "output" and call string type variable that is message by the use of the print function we print message.