Q. Which of the following built-in method is used to remove the last element from an array and return that element?

  • (A) last()
  • (B) pop()
  • (C) get()
  • (D) None of the above.
πŸ’¬ Discuss
βœ… Correct Answer: (B) pop()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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