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

Find the equation of this line
FROM THE PASSAGE BEOWULF: how do the shieldings attempt to protect themselves? how effective are these means of protection? be sure to cite text evidence.
HELP MEE I HAVE TO TURN IT IN TOMORROW
3) A local meteorologist measured the rain during a storm and recorded it on a graph. At what rate did the rain fall? 50 POINTS PLEASE HELP ASAP THANK YOU
f(x) = -x^2+ 6x -10 write each function in vertex form and give the vertex
how many floors does the empire state building have
A football team gained 9 yards on one play and then lost 22 yards on the next. Write a sum of integers to find the overall change in field position
Could anyone help me translate this? Juan y yo VAMOS A JUGAR (to play) en el parque. Luego, nosotros ___ ___ ______ (to study) para el examen de español. Mi mam
Help me! It’s a short answer question! 12. Find the values of x, y, and z. The diagram is not to scale. (3 points) 360 130 630
the topic is about martin luther king jr