πŸ“Š Ruby
Q. Which method in Ruby is used to read a line from a file?
  • (A) read
  • (B) readline
  • (C) getline
  • (D) read
πŸ’¬ Discuss
βœ… Correct Answer: (B) readline

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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