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

Jacob has 32 action figures and 4 shoeboxes to store them in. Each shoebox holds 80 action figures. Does Jacob have enough shoeboxes? If not, how many action fi
how to move a paragraph from webpage to a writer.​
What is the reciprocal of 1.8?
factorise a^4 -(a+b)^4
Determine the mean/ average of 5, 7, 10, 9,0
PLEASE HELP ASAP!!! I NEED CORRECT ANSWERS ONLY PLEASE!!! Find the cosine of ∠G. Write your answer as an integer or as a decimal rounded to the nearest hundredt
A student's course grade is based on one midterm that counts as 5% of his final grade, one class project that counts as 10% of his final grade, a set of homewor
F. Please answer this as soon as possible.
Can you simplify the equation 64x(squared)-112x+49
in what ways did the expanding railroad industry affect other industries in the late 19th century? how did it affect other aspects of american life?