Chunkypants9688 Chunkypants9688
  • 02-09-2019
  • Computers and Technology
contestada

What are the advantages of the java.util.Stack implementation of a stack?

Respuesta :

ExieFansler ExieFansler
  • 09-09-2019

Explanation:

The advantages of java.util.Stack are as following:-

  1. java.util.Stack is an implementation of the vector class hence it can keep track of position of elements in the stack hence it is not required to store an additional pointer for each node.
  2. In the implementation it allocates space only that much is needed.

These are the two advantages of java.util.Stack.

Answer Link

Otras preguntas

What is being personified in the following passage? Fear had settled over the city.
Paula caught a tarpon with a weight that was 10 times as great as the weight of a permit fish she caught . The total weight of the two fish was 132 pounds. How
what type of bond is methane?
In class 6, 80percent of the children like crisps. 75percent of the children who like crisps also like chocolate. In class 6 what percentage of the children lik
what is the main functions of lipids?
by hw much is the difference of 604 and 406.64 less than thier sum ?
why does methane have a low boiling pint?
Name the two lines and the transversal that form each pair of angles
Which of the following differs when comparing the deep ocean to the intertidal zone? PLEASE HELP!!! •need for energy •salinity •the amount of sunlight •relianc
how many valenceelectrons does rare earth metals have