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

(3x + 4) (5x - 2)A 15x^2 +14x – 8B 15x^2 – 60 – 8C 15x^2 + 262 – 8D 15x^2 -8​
The Lopez family is moving to another city. An online budget estimator says their required monthly income will be $5,900. How much more per month will they need
Question 10 Multiple Choice Worth 5 points) (09.02 LC) A quadratic equation is shown below: x2 - 14x +41 = 0 Which of the following is the first correct step to
Y-3x=-2 3x=y+6 Solve system..
Which describes civil disobedience?
What challenge do presidents in particular face when persuading an audience? O A. They must use more than one persuasive approach. O B. They must embellish poli
Write a rule for the linear function in the graph Plz help
Evaluate the dot product of (2,4) and (1,2)
whats the city of maryland
A local culture is defined by _________