πŸ“Š Ruby
Q. What does the keys method return when called on a hash in Ruby?
  • (A) Array of all keys
  • (B) Array of all values
  • (C) Array of key-value pairs
  • (D) Number of keys in the hash
πŸ’¬ Discuss
βœ… Correct Answer: (A) Array of all keys

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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