πŸ“Š Ruby
Q. Which method returns all the keys from a hash in Ruby?
  • (A) keys
  • (B) values
  • (C) items
  • (D) elements
πŸ’¬ Discuss
βœ… Correct Answer: (A) keys

Explanation: The keys method returns all keys of a hash.

Explanation by: Rati Dubey
The keys method returns all keys of a hash.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
60
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
92%
Success Rate