πŸ“Š Ruby
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) pop

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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