A) flush()
B) close()
C) write()
D) read()
Correct Answer: B
Solution :
[b] The close() method of a file object flushes any unwritten information and closes the file object after which no more writing can be done. If you want to write data again into the file then you should open the file again using open(). |
You need to login to perform this action.
You will be redirected in
3 sec