πŸ“Š Ruby
Q. Which method in Ruby is used to check if the end of a file has been reached?
  • (A) end_of_file()
  • (B) at_end()
  • (C) eof()
  • (D) file_end()
πŸ’¬ Discuss
βœ… Correct Answer: (C) eof()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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