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

a cylinder has a radius of 15 ft and a height of 25 ft. what is the exact surface area of the cylinder
a rectangular prism has a base of 144 square inches and a height of six inches then the volume is?​
Can you use first person or second person in an informative essay?
Which article of the U.S. Constitution addresses the issue of enforcing the laws of the United States? A) Article I B) Article II C) Article III D) Article I
If a nail is that does side, over time it will usually become rusty. This is because the nail -
please help asap I will give brainlest
Determine the eccentricity, the type of conic, and the directrix for r=6/1+2cos theta
Please I need help ASAP
Why is regeneration important to salamanders? AKA/I-ready
What is the speed limit when traveling across a blind railroad crossing