How do you ensure data is flushed from memory to file?
fw.flush()
fw.write()
fw.append()
fw.end()
This question is part of this quiz :