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

How many faces edges vertices does a decagonal prism have ?
how is acceleration of the cart related to the amount of force acting on it? the strips of it?
Julius Caesar, hero or tyrant?! And why????
how reliable are grammar checkers?
Find the domain of each rational expression. f(x)=5x-7/4
Which Kelvin temperature is equal to 200.°C?
What expression represents the number of squares in terms of the figure number?
What are the functions of:Salivary Glands...Gallbladder...Liver...Pancreas..
Which Kelvin temperature is equal to 200.°C?
A second baseman tosses the ball to a first baseman, who catches it a the same level from which it was thrown. The throw is made with an initial speed o 19.0 m/