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

What economic term describes the rate at which products are manufactured?
If |b| = 16, then which are possible values of b? Choose exactly two answers that are correct. A. 4 B. 16 C. 0 D. –16
A student has written a paper about a deer population that was separated when a canyon developed between members of the group. In her paper, she showed that the
what percent of 28 is 35
Percent what is 12% of 1120 of
what borders Mexico on all four of its sides?
electricity is added to recharge a battery. What is added to ADP to form ATP?
Would a nonindustrialized or an industrialized nation more likely be an empire builder? Why?
How many milliliters of a 3.0 M HCl solution are required to make 250.0 milliliters of 1.2 M HCl?
What occurs at one of the electrodes in both an electrolytic cell and a voltaic cell?