πŸ“Š Ruby
Q. Which of the following methods is used to remove a key-value pair from a hash in Ruby?
  • (A) delete(key)
  • (B) remove(key)
  • (C) erase(key)
  • (D) exclude(key)
πŸ’¬ Discuss
βœ… Correct Answer: (A) delete(key)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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