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

why was pat scully a master of stragtegy?
how did WWI contribute to the spreading of this flu (influenza 1918)
All of the questions
In creative nonfiction a quote is differentiated from fictional dialogue in that it
Is there an ethical or legal problem with Dr williams action
Two objects move toward each other because of gravitational attraction. As the objects get closer and closer, the force between them _____. A. remains constan
Which one of the following statements is accurate? A. Agriculture has been challenged by the use of selective breeding. B. Gymnosperms provide humans with
what force is required to accelerate a body with the mass of 15 kilograms at a rate of 8m/s2?
what is the meaning of ingestion
an apple is packed in a case each weighing 5 kg 100 g. how many such cases can be loaded in a van that can carry 900 kg?