Q. Which method reads the entire content of a file as a single string?
β
Correct Answer: (B)
read()
Explanation: The read() method reads the entire file content as one string.