πŸ“Š Ruby
Q. Which method in Ruby is used to remove and return the last element of an array?
  • (A) pop
  • (B) shift
  • (C) remove
  • (D) delete_at
πŸ’¬ Discuss
βœ… Correct Answer: (A) pop

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
198
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate