Suppose an array reptiles is ["snake", "turtle", "lizard", "crocodile"]. To remove the last item from the array, use the statement ___.

A. reptiles.push("crocodile");
B. reptiles.push();
C. reptiles.pop("crocodile");
D. reptiles.pop();
E. reptiles.unshift("crocodile");
F. reptiles.unshift();
G. reptiles.shift("crocodile");
H. reptiles.shift();

D. reptiles.pop();

Computer Science & Information Technology

You might also like to view...

What is the function of UVs?

A. They change the position of vertices in the mesh. B. They make the model look better. C. They define how an image will be projected onto a surface. D. They are useful to show how the model would be constructed from a flat surface.

Computer Science & Information Technology

Pointing to a button with the mouse pointer is sometimes referred to as ____.

A. hovering B. stating C. tooling D. framing

Computer Science & Information Technology