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

7/7=_/70Fill the blank space with the answer ​
Read and choose the best answer. What is the best word, words, or expression missing to complete this dialogue?
Mattias gets dressed in the dark one morning and chooses his clothes at random. He chooses a shirt (green, red, or yellow), a pair of pants (black or blue), and
a) solve x + x + x = 54 b) solve y/5 = 7c) solve 4t+6=24​
(20 POINTS) Which of the following could be alive because it displays one of the signs of life? A. Euglena B. Pen C. Rock D. Metal
Two students (X and Y) measured the diameter of a gold coin four times. The results were recorded in the table below. The actual diameter of the coin is 28.0 mm
what is the LCD for 1/8 7/9 and 1/6
I think im right but i want to make sure.
what is the slope of line? (14, 0) and (2, -3) as a simplified fraction
Imagine you are a farmer living in the hills of ancient Greece. Your brother-in-law, a fisherman who lives on the coast, has just come to visit, and the two of