Vidyalelo
Ruby Programming · Q19

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 19

Q19

In Ruby, which method is used to add a key-value pair to a hash?

A.
add
B.
insert
C.
push
D.
store
Answer

Answer: Option D

Solution

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