Vidyalelo
Ruby Programming · Q3

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 3

Q3

Which method is used to access the value associated with a specific key in a hash in Ruby?

A.
access
B.
get
C.
fetch
Answer
D.
value

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board