Which method adds an element to the end of an array?

Explanation:

push() adds element at end of array.

Explore more in Computer Science: