Code example for PrintWriter

Methods: flush, printf