πŸ“Š Ruby
Q. Which method in Ruby is used to check if a key exists in a hash?
  • (A) key?
  • (B) include?
  • (C) exists?
  • (D) has_key?
πŸ’¬ Discuss
βœ… Correct Answer: (D) has_key?

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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