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

2 PUNTS Which of the following works did Haydn write? O O A. The Four Seasons B. The Beggar's Opera O c. The Surprise Symphony D. The Pathétique Sonata O
2x + 128 = 180Anyone​
We can successfully manage influences in our lives by
The following question refers to the text Gus and Frieda: Geniuses at Recess. Read the paragraph and answer the question below it. The paragraphs have been labe
Compare the catching of two different water balloons. Case A: A 150-ml water balloon moving at 8 m/s is caught and brought to a stop. Case B: A 600-ml water bal
Need help!! Thank you
what is the answer for this question
what led to a conflict between great britain and china in the mid 19th century
Determine the values of a and b in the equation. a = b =
ANSWER ASAP for BRAINLIEST This week, you will be learning about character conflict and motivation. Write about a conflict in your life. What type of conflict w