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

Most nations that discuss the issue of Palestine independence call for a one-state solution two-state solution three-state solution four-state solution.
Which of the following is a possible cross section of a rectangular prism?
PLEASE HURRY I NEED HELP SOS!!!! (10 POINTS)verify sin(360º-ø)=-sinø
given the diagram above the fact that LPOM is a rectangle and the fact that LN≅PN prove ΔLMN≅ΔPON HELP it is timed
f(x)=3x-5 and g(x)=x^2+2, fins (f+g)(x)
From sentencesof prendre,with theapprendreconjugated form.and comprendre​
In need of some help. Thank you very much and advance it’s greatly appreciated
Use dimensional analysis to convert the width of a bedroom to feet if it measures 132 inches.
I have a question and no one has helped me yet so I'm re-submitting it. thanks in advance. ​
Complete the table to make this a proportional relationship