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

Solve the equation: 1/4 + w = 6 1/3
which geographic feature most aided england during the industrial revolution?
What Is Geographic Mobility?
Is Smoking in Japan Illegal? Please help me :)
what are facts on Loyalists?
A soccer team played 160 games and won 65 percent of them. How many games did it win ?
you shoot a model rocket into the air with a speed of 18.2 m/s. now high does the rocket go?
simplify as much as possible.Assume that all variables represent positive real number4x√32xv^2 + v√2x^3
how do you multiply and divide equations?
A uniform wire is cut into 4 segments. Each segment is twice as long as the earlier segment. If the shortest segment has a resistance of 4 ohm, find the resista