A Admin • 828.03K Points Coach Q. What does the pop method do when called on an array in Ruby? (A) Removes the first element of the array (B) Removes the last element of the array (C) Returns a new array with the last element removed (D) Inserts an element at a specified index Correct Answer - Option(B) Views: 12 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.