Code example for BufferedWriter

Methods: close, flush, write