Q. Which method closes a file?

  • (A) close()
  • (B) end()
  • (C) stop()
  • (D) terminate()
πŸ’¬ Discuss
βœ… Correct Answer: (A) close()
Explanation: The close() method is used to close a file.
Explanation by: Mr. Dubey
The close() method is used to close a file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
109
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate