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 name of boy in jungle book?
Add [ –6 –2 2] + [–3 2 1].
Which medical condition is more common in people with bulimia than those with anorexia?
Simplify the expression. 4p−5(p+6)
The strength of the u.s. dollar relative to other currencies depends mainly on:
Why couldn't the two Elephants Go swimming together?
Do ivs go in veins or arteries
there are tweleve inches in one foot, creating the equation y=12x. If a door frame is 6.5 feet tall, how many inches tall is it?
what is quadratic functions?
PLEASE PLEASE HELP ME!?!?!?!?! Give an example of a renewable and nonrenewable resource. What are the advantages and disadvantages of each. Which do you think w