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

Read the excerpt from the Joint statement by President Roosevelt and Prime Minister Churchill Eighth, they believe that all of the nations of the world
Breyona, who owns an international investment firm that is headquartered in the united states, has witnessed the dangers of global economic interdependency. As
(Economics) definition of command
What does the executive branch of government on the national and state levels have in common?
Type 10 Spanish letters in the answer box. For a challenge, try typing 10 characters used in Spanish that aren't found in the English alphabet (á,é,í,ó,ú, ü, Á,
mechanism of this reaction​
At 90°C. you dissolved 10 g of KCI in 100. g of water. Is this solution saturated or unsaturated?A. saturatedB. unsaturated​
create a equation where the solution is x= -5
As his classmates teased him about his new glasses, his heart was a stone. Which poetic device is used here?
if you are givent two points on a line, (5,6) and (-5, -4), what is the slope of the line!