ashlynnanne8033 ashlynnanne8033
  • 22-08-2019
  • Computers and Technology
contestada

)In a vector implementation of a stack ADT, you clear all of the contents of a stack using which vector method

a. Clear

B. Delete

C. Delete all

D. None of the other answers

Respuesta :

Cetacea
Cetacea Cetacea
  • 28-08-2019

Answer: a)Clear

Explanation: Stack ADT(Abstract Data type) is the datatype that works in the form of the group of elements having the insertion and deletion of the object by last in first out mechanism.

When there is the vector implementation on stack of ADT then, for removing all the elements from the collection is done by using the command "clear".thus option (a) is the correct option.

Answer Link

Otras preguntas

For emlimination what does x+7y=10 5x-7y=8
Approximately how many genes are found on chromosome 17?
I need help please. Title: The Bystander Effect Dorothy Barkin.
Will give the BRAINLEST!!!PLZ HELP ME​
The only difference between an Elizabethan theater and today's theater is that the stage of the former jutted into the audience.
What is the quadratic regression equation for the data set? A. yˆ=0.056x2+1.278x−0.886 B. yˆ=0.056x2+1.278 C. yˆ=0.056x2+1.278x D. yˆ=0.056x2−1.278x−0.886
I need help with my Algebra ASAP!!!!
the longest side of an acute isosceles triangle is 8 centimeters. rounded to the nearest tenth, what is the smallest possible length of one of the 2 congruent s
Can someone write me a french paragraph about going to Canada wonderland in the summer it has to have l'imparfait verbs in it
5 important items that led to the civil war