Vidyalelo
Ruby Programming · Q1

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 1

Q1

Which method in Ruby is used to add an element to the end of an array?

A.
push
Answer
B.
pop
C.
append
D.
insert

Answer: Option A

Solution

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