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

is the gcf of a pair
30% of a number is 120 what is 75% of the number A:90 B:300 C:27 D:48
how many court systems exist in the united states of america? a. 1. b. 51. c. more than 51. d. nine of the above
eugene spent $14 on a magazine and some candy bars. if the magazine cost $6 and each candy bar cost $2 then how many candy bars did he buy
Which most likely could cause acceleration? Check all that apply. a flat road wind water movement a hill a stop light *can be multiple answers*
360 Kilometers is 24% of _____ Kilometers
what is 100/2,670 simplified?
Who was the young Muslim scholar who figured out that isolating sick patients, in other words, quarantining them, could help prevent the spread of disease?
graces monthly sales totaled $1000. she earns $2000 plus 9% of her sales. what is her total paycheck for this month?
what fraction is equivalent to -0.12