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

In English, compare and contrast traveling by train in France and the United States.
Line RS bisects PQ at point R, Find RQ if PQ = 14 cm
The set of integers less than -8
a store manager orders t-shirt so that 15 out of every 35 or medium how many medium t-shirts would you expect to find when there are 126 t-shirts on a rack
A relief map shows human-created features such as cities and boundaries true false
What is 2 1/6+3 5/6 in mathematics
What is the range of 2/(x^2-2x-3)
What is the value of x in the equation 1,331x3 − 216 = 0?
which descriptions best describe stage 2 of the general adaptation syndrome
where was Justin Bieber born