Code example for PrintWriter

Methods: close, flush, println