Q. Which method adds an element at the end of an array?

  • (A) push()
  • (B) add()
  • (C) insert()
  • (D) append()
πŸ’¬ Discuss
βœ… Correct Answer: (A) push()
Explanation: The push() method adds an element at the end of an array.
Explanation by: Chandani
The push() method adds an element at the end of an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
90%
Success Rate