Q. In Ruby, which method is used to remove the last element from an array and return it? (A) pop (B) remove (C) delete (D) shift ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) pop