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

The seeds of flowering plants, angiosperms, have similar parts. The part of the seed that is responsible for protecting the developing embryo, that often helps
Mr. Blackwell’s company produces nuts and bolts. The total monthly profit for his company was $76,378. The profit earned from nuts was $3,428 more than the prof
I need help with my world history homework, Help ?
How would you describe the slice that created the triangular cross section on this cake Help asap please!!!
Which is not proportional? A. Y=2x B. Y=x - 2 C. Y=-2x D. Y=1/2x
How do I find x and y?
One theme of this story relates to synergy, the idea that the whole is greater than the sum of its parts. Which line from the story best expresses that theme?
How does "the cold gleam of the fanatic" in the sniper's face indirectly characterize him? Question options: "The cold gleam of the fanatic" indirectly char
Why might the author use pathos to Persuade readers
what's the answer show CLEARLY and please halp meeeeee