Q10
Which method in Ruby is used to remove and return the last element of an array?
A.
pop
AnswerB.
shift
C.
remove
D.
delete_at
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board