To do so, we can inject a PrintWriter into a field in the class that runs in the loop.
To do so, we can inject a PrintWriter into a field in the class that runs in the loop.