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

Please Need Help Asap
if you’re pulled over, after you park your car you should ___
equation practice with angle addition please help ​
A fisherman sees 7 wave crests go by in 10.0 s. The crests are 2.43 m apart. Find the velocity of the wave. (Unit = m/s)
People of __________ descent make up the majority of the population in the western part of North Africa. A. European B. Bedouin C. Berber D. Bantu
Restriction enzyme HinfI cleaves a five nucleotide DNA sequence GA(A/T)TC. The ambiguity in the central position - (A/T) - means that either A or T can occur in
What is absalute value
During the selection process for an IT position, Jeff was required to take a test that measured his memory and vocabulary. Which type of test did Jeff most like
In a student experiment 4 earthworms were placed at each end of a compartment as shown after 10 minutes all of the earthworms were together in the same area the
Estos ____ cuestan 35 dólares. Question 2 options: