Code example for PrintWriter

Methods: close, write