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

When is mitosis complete? A. When two nuclei have formed B. When spindle fibers form C. When chromatids are produced D. When organelles are produced
sentence using the words plain and stain
When making a batch of orange juice for her basketball team, Jackie used 5 times as much water as concentrate. There were 32 more cups of water than concentrate
#14 Helppppp me plz this make no sense to me
14 to 22 ratio simplfied
Marie uses 2.3 oz of nuts for each bag of trail mix she makes. She uses 27.6 oz of nuts in all. How many bags of trail mix does Marie make?
Mathhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
What allows humans to have different traits from each other? A. They have different numbers of chromosomes. B. They have different genes. C. They store
What was the result of napoleons invasion of russia in 1812?
what is 1/4 of 3 HELP ITS DUE TODAYYY