Q. Which method closes a file?
β
Correct Answer: (A)
close()
Explanation: The close() method is used to close a file.
Explanation: The close() method is used to close a file.