πŸ“Š Ruby
Q. Which method is used to write content in the file ?
  • (A) systemwrite
  • (B) sysputs
  • (C) syswrite
  • (D) systemputs
πŸ’¬ Discuss
βœ… Correct Answer: (C) syswrite

Explanation: You can use the method syswrite to write the contents into a file. You need to open the file in write mode when using the method syswrite.

Explanation by: Mr. Dubey
You can use the method syswrite to write the contents into a file. You need to open the file in write mode when using the method syswrite.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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