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

Divide the polynomial P by g and find the quotient and the remainder. a) P (x) = x ^3+2x^2-2x+1 and q(x)=x-3​
Describe the 3 sects of Judaism.
You have a square flower garden that has an area of 400 square yards. What is the length of one side of the garden?
what are The Sun Belt, Sub-Saharan Africa, and Latin America are all examples of (A)relative locations(B) absolute locations(C) proximity(D regionsplease help m
Does the table represent a function? why or why not ?
1. Describe a situation in which you might need to convert the units of a measurement, and what information you would need to do so.
Write 3-5 evidence about American Ideals and explanation of evidence
Evaluate 3 + 11t - 9u when t=9 and u=11
how the UAE is contributing to the study of cells?
Solve the inequality 2x ≥ 6