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

what is ur life about if I don't have one???????????????
The ratio of dogs to cats being adopted today at the animal rescue center is 7 to 5. If there are 70 cats up for adoption, how many dogs are there?
PLEASE SOMEONE HELP RN
A bank requires a four-digit access code for each account. The access code is generated using the digits 0–9, and the digits can be repeated. What is the probab
Does anyone know what the answer to this is? - 14/3 x - 11/6 (negative 14/3 times negative 11/6) Thanks! :)
is 600km greater or less than 5m
In △ABC, CM is the median to AB and side BC is 12 cm long. There is a point P∈ CM and a line AP intersecting BC at point Q. Find the lengths of
pls help with number 5
if the teacher has 30 students and 10% left,how much students does she have now
Which number represents Lesotho? A. 40 B. 41 C. 46 D. 47