

MCQOPTIONS
Saved Bookmarks
1. |
The pop() method of the array does which of the following task ? |
A. | decrements the total length by 1 |
B. | increments the total length by 1 |
C. | prints the first element but no effect on the length |
D. | updates the element |
Answer» B. increments the total length by 1 | |