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

Can someone help me with these 2 questions
What are symptoms of ms related sleep paralysis towards the end of life.
how much salt to add to unsalted butter to make it salted
can someone pls help me
Read the excerpt from Gilgamesh: A New English In this excerpt, Gilgamesh is most characterized as Version. Gilgamesh, hearing his beloved friend, • compassiona
Show your work! A pineapple is 7 times as heavy as an orange. The pineapple also weighs 870 grams more than the orange. What is the total weight in grams for th
7. Which of the following details is NOT introduced as a complication in Act I? O The Capulets and the montagues are feuding O Lord Capulet wants Juliet to marr
How much work is done by a student holding a book with a force of 5N and walking forward 10 m?
I don’t wanna fail if you know the answer pls help :(
What is the function of mRNA (messenger RNA)?(1 point)