PrepAway - Latest Free Exam Questions & Answers

When should you call the Flush() method?

You create a program that writes a status message to a file every 10 seconds. You need to ensure
that all data is written to the file before the file is closed. When should you call the Flush() method?

PrepAway - Latest Free Exam Questions & Answers

A.
Before writing the entry

B.
When opening the file

C.
Before opening the file

D.
After writing the entry

2 Comments on “When should you call the Flush() method?


Leave a Reply