repirce6850 repirce6850
  • 02-09-2019
  • Computers and Technology
contestada

What is the potential problem with the java.util.Stack implementation?

Respuesta :

ExieFansler ExieFansler
  • 12-09-2019

Explanation:

The potential problem with java.util.Stack is that it is an extension of the Vector class And hence there are a lot of operation in java.util.Stack that does not follow the rule of the basic assumption of the stack.

for Ex:- You can keep track of the element's position in stack using the index.

So this the potential problem with the java.util.Stack.

Answer Link

Otras preguntas

what is force ?is it desirable or undesirable?
Tennis balls with a diameter of 2.5 in. are packaged 3 to a can. The can is a cylinder. Find the volume of the space in the can that is not occupied by tennis b
which foods earthworms can digest?
what does como eres tu mean in spanish?
An ice cube is dropped into boiling water. How will heat flow between the water and the ice cube?
Consider two linear transformations y = T(x) and z = L(y), where T goes from R^m to R^p and L goes from R^p to R^n. Is the transformationz = L(T(x)) linear as w
which foods earthworms can digest?
wats the 60% off a prize that is $20.00
which type of gas is filled in lays pack and why?
You would expect a phosphorous-chlorine bond to be 1. nonpolar, with the neither end having a partial charge. 2. polar, with neither end having a partial charge