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

3. If you could ask Abigail one question, what would it be?​
'Measurement of quality of life is complex concept '. jistify​
problem solving with fractions and percentages- can someone solve this please maria received her exam results and achieved 78% in art, 19/25 in english, and 32
nevermind, scratch the question
BRAINLY IF CORRECT!! See the beauty in every cruelty. It sets you free. What does this quote mean? Give a example of this quote being true.
Simplify the following expression (3m/4-3)+9
Determine which fraction is larger: 2/7 or 1/3
What are some things that You could do to be a better citizen Help
Need help with questions 2 and 3 please. Anyone? Please?
Select the correct answer. Jessica is training for a marathon. How much water should she drink 30 minutes before her exercise routine? OA 8 ounces OB. 12 ounces