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

Which expression is equivalent to 5^-6*5^-1
a pencil cost $(x-5) and an exercise book cost $(2x+10). If the sum of the cost of the two items is devided by 7, the result is $5.00. Calculate the cost of an
The following segment of DNA codes a protein. The uppercase letters represent exons, the lowercase letters introns. Draw the pre-mRNA, the mature mRNA and trans
operating leverage, financial leverage and combined leverage of different companies
There are 12 students in Phil's Maths group. The mean mark in a test is 76%. In Paul's group there are only 8 students. Their mean mark is 84%. Find the overall
Write an equation of the line that passes through point (3, -2) and has the slope m=-1/2
3/4(x+6) = -1/4x Explain how to solve the equation.
What is the name of the element which has 20 proton ? Draw its atomic structure.​
find the volume of the cone shown below
How do variations in temperature affect the altimeter?