Q. The pop() method of the array does which of the following task ? (Solved)

1. decrements the total length by 1

2. increments the total length by 1

3. prints the first element but no effect on the length

4. None of the above

  • a. decrements the total length by 1
Subscribe Now

Get All Updates & News