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 a tiny organ in the digestive system with no use, but can get infected by bacteria?
Write a summary about Hector Perez Garcia
someone help me please
Higher Order Thinking The band boosters collected $2,400 from the sale of hamburgers and hot dogs. The amounts earned from hamburgers and hot dogs were equal. A
3. In what circumstance will a flash of lightning travel through the sky and touch the ground?
4. Antes de las clases, los estudiantes están en ________ 5. Cuando hay problemas muy difíciles en la clase de matemáticas, usamos______
When writing an argumentative essay, what is the most important reason authors conduct research?
Angle a and b are supplementary angles. If m a = (x – 40)0 and m b = (x + 20)0, find the value of x, m a and m b
Why would many countries opt to sanction Russia? What does that do to the country?
How is penetration different in animal viruses as compared to bacterial viruses?.