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

Because the Cold War relied so much on intelligence gathering and covert military actions, leaders often felt the need to conceal information from Congress and
please arrange this word for me A O T M U L S E
how should i prepare for a field study and what should i do if there is an accident?
how do you change 65/117 to simplest form
what is a theme? a. the writer’s autobiography b. the conclusion of the story c. a category of literature d. the central message in a literary work
What is the volume of silver metal which weighs 820.0g.the density of silver is 10.5g/cm3.
Rename number 1,400 draw a quick picture
yuna missed 5 points out of 100 points on her math test.what decimal number represents the part of her math test that she answered correctly?
Que estudia la pedagogia
what is 34.5 divided by 4