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

Help !!!!!!!!!!!!! Please
Kevin clamis he can draw a trapezoid with three angles is it possible explain
6. Which of these best explains the major weakness of missionary diplomacy It ignored the native spiritual and religious beliefs in Latin America. It relied on
what was the name given to the series of laws that closed the Boston harbor, required colonists to put up British soldiers in their homes, and allowed British o
Help with Spanish please. Complete with the correct form of repetir: La maestra ______ las instrucciones. Question 12 options: repita repete repite repeta
Use L=PRT to solve. (Time is in years) (Remember .8%=.08 in decimal form) L=14,400 R=8% T=30 years (FindP)
How did the new deal change attitudes toward government?
write a sentence about wheels that contains an example of alliteration
Sneakers that cost $48.99 go on sale for 25% off. a. What percent of the original price is the sale price? b. What is the sale price? Round to the neare
Explaining How did Rome's location affect its development?