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 two are functions?
which is faster mig-31 or mig-29?​
work out the value of a and b in these equivalent ratios A:6:7 and 8:24:B
4. Find only the two exponential polynomials 3x²- x-4. And check the correctness of the relationships between digits and coefficients:​
I have $175 in my wallet, consisting of $10 and $5 notes. the $10 notes are twice as much as $5 notes. Find the number of $5 notes.​
Find the coordinates of M, the midpoint of AB, where A and B have the following coordinates: A(2,12), B(8,4)
Apparently X=24 in this problem. I already tried to solve it to equal to 180 but whatever I do it ends up being wrong. I need to know how to solve this for X
Tadpole larva develops into adult frog by the process of _________
what is the square of 123?​
x^5 times x^3 pls helppppppp