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

how were north american colonies all similar in the 1700s?
what's another word for over thinking?
how were north american colonies all similar in the 1700s?
Simplify the expressions: cot 0 sec 0 A. Sin0 B. Csc0 C. Cos0 D. Cos* 0
The function of the eardrum in the middle ear is to
What are the functions of receptors in our body? Think of a situation where receptors do not work properly. What problems are likely to arise?
The function of the eardrum in the middle ear is to
What is the amplitude of y=1/2 sin2x
you have a standard deck of 52 cards. you pick one card and then, with out putting the first card back, you pick a second card. what is the probability that bot
how were north american colonies all similar in the 1700s?