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

Suppose an investment of $500 doubles in value every 15 years. How much is the investment after 30 years? 45 years?
Which of the sexually transmitted diseases was left out of the center for disease control study referred to by mackinnon?
A fold in rock that bends upward into an arch is called a(n) a. anticline. b. syncline. c. plateau. d. canyon.
HELP PLS ASAP Al gets paid semimonthly. His gross pay for each pay period is $750. He has 18% withheld for taxes and 4% withheld for personal deductions. What i
HELP!! Who is honored because he and a few men fought 30,000 Persians until they all died fighting? Xerxes Leonidas Salamis Themistocles
How many codons are needed for 3 amino acids?
Which is more valuable $20000 received now or $5000 per year for 4 years?
To which of the contributors to the early expansion of Islam would this passage apply most in their daily lives?
A cell lining the inside of the stomach is producing some digestive enzymes that are to be released into the stomach. Which transport mechanism out of the cell
all numbers whose absolute value is 7??