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

Wendell’s dog, Jordan, was getting in his way as he worked in the backyard. So, Wendell chained him to a pole. If the chain is 12 feet long, about how much area
Why do you think that European explorers came to America
Which of the following methods would be the easiest to use to solve 2x2 + 4x — 7 = 0? A factoring B All three methods would be easy and effective. C using the q
According to plate tectonic theory, what happens when two continental plates collide?
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
What's In PARA-CHARADE Directions: Each picture below describes what is common to African people. Fill in the blanks with the missing letters to guess the word.
Effect of enterprise\ business on environment​
on: *2 2x - 8. 3x-2/4=2x-8
The product of 3 and b divided by 12
A student plays a total of 20 rounds of rock paper scussordbhe wins 75% of them. How many rounds did he win