ramanwaterfalls9042 ramanwaterfalls9042
  • 17-07-2019
  • Computers and Technology
contestada

_____ means retrieve the element at the top of a stackwithout removing it.

a. Peek
b. Top
c. Push
d. Pop
e. none of the above

Respuesta :

demimurray573
demimurray573 demimurray573
  • 28-07-2019

Answer:

A - Peek

Explanation:

The peek method retrieves the element at the top of a stack without deleting/removing it, the only exception that can occur is when the stack used is empty. It would look as follows when you use the method >> STACK.peek().

Answer Link

Otras preguntas

How many parrallel lines does a triangle,square,trapezoid,pentagon
Your model locomotive is 16 inches long. It is an exact model of a locomotive that is 40 feet long. A window on the locomotive is how many times wider than a wi
How many parrallel lines does a triangle,square,trapezoid,pentagon
How to make money quickly
The two epics written by Homer the Illiad and the Odyssey are considered to be what's known as Primary epics. The third book written by Virgil, The Aeneid , is
The coordinates of the vertices of ANGLE PQR are P(-3,3), Q(2,3), and R(-3,-4). Find the side lengths to the nearest hundredth and the angle measures to the nea
The coordinates of the vertices of ANGLE PQR are P(-3,3), Q(2,3), and R(-3,-4). Find the side lengths to the nearest hundredth and the angle measures to the nea
How many parrallel lines does a triangle,square,trapezoid,pentagon
How I say I want to go home in French?
Who knows the book Rose Blanche